Compiling vs RPM
shwaip
bluffin' with my muffin Icrontian
I'm using Fedora Core 3.
I'm going to be installing apache/php/mysql. Is it better to use the RPMs provided (via yum or the software's website), or to compile them from source?
I'm going to be installing apache/php/mysql. Is it better to use the RPMs provided (via yum or the software's website), or to compile them from source?
0
Comments
However, the question still stands.
Anyways why are you using fc its so bloated .
Where you get max performance increase from compiling is when you compile a kernel custom to your core hardware or as close to custom as possible. Sometimes, a module from mfr must be used, then also, compiling comes into play. This is complex, study it first and keep your old kernel around until the new kernel is tested, please.
RPM's are hardware independent normally, though in the past some compiled for 386 gen could get much improvement in speed by being compiled on a 686 box.
For what you want to do, the RPM's probably would be easiest and decently speedy-- as Prime corectly said.
I will definitely check it out. Is it open source?
As for the RPM's try to stay with the package manager whenever possible for more reasons than I care to type out. Also, recompiling your kernel is usually a waste of time unless you have a direct requirement such as adding file system support for unusual boot partitions or changing the stack size for some modules. Some people like to stray versions, but most don't know enough about the differences to make that choice. It's a modular kernel for a reason, you can compile new modules from the source without rebuilding the kernel and forcefully remove things you don't want to load. Unless your using something from 1995 or really strange hardware it's already optimized for your platform as well.
Seriously, compiles for you, easy updates through portage, damn near everything is automatic.
In general though, Gentoo is more for hobbiests and students as-is out of the box. Very few actually need that level of customization. That is exactly what Gentoo is, the most flexable and customizable set of packages and tools. Compiling is an awesome way to learn how things work. Sometimes, when you get into really advanced situations the total control it gives is an advantage too. But, in general backporting patching is more suitable for a production use. Once you have to recompile half your system for one package update gentoo isn't as friendly. You will want to learn your ebuilds real quick so you can send out your custom binarys to all of your systems after a single compile. If you deviate too far and backport your patches like debian or RHEL then you set yourself up for a large amount of work. It's a rock and a hard place, but really powerful way to build your own environment.
If you like it for a desktop great, but the first time I was in the datacenter and needed a package on my laptop 'right now' it required building nearly 20 deps. Not exactly a good day and the last time I used it for my workstation.
Umm... the topic is source vs RPM. If it were a binary distribution I would not have had to compile, which is the time consuming part when your uplinked at 100M