What's the difference between installation from source (./configure && make && make install
) and with apt-get
?
I can think of these:
apt-get
version usually is more stable and less choice, while we can chose the specific version when install from source.apt-get
can resolve dependencies automatically, can update/uninstall software easily, and has some other easy management goodness.apt-get
installation path follows a consistent pattern, and have some other conventions, which is convenient for SA.
But are there more?
- Can installation from source get better performance than via
apt-get
for some certain software, likephp
andmysql
? - Some other differences?
In a word, in which condition should I chose installation from source than apt-get
, except to get a specific version of that software?
Thanks.
apt-get
"; compiling and installing from source probably provides more of an ability to change and tweak the requirements and settings of the application with regards to your current kernel version and settings and stuff.