Wow, some misinformation never dies.
Posted Aug 31, 2006 1:50 UTC (Thu) by
corey_s (guest, #12510)
In reply to:
Wow, some misinformation never dies. by sholdowa
Parent article:
Gentoo Linux 2006.1 released
> I see, so Gentoo is just the same as all other distros that use yum/rpm,
or apt/dpkg, etc then?
Apparently you _don't_ see. When learning about a subject which you have
no actual/practical experience with ( gentoo ), it helps to ask real,
honest questions rather than make assertive assumptions under a false
pretense of actual curiosity.
With a binary package management system, such as "yum/rpm or apt/dpkg" -
you get whatever fat-ass binary was built for you by the distribution's
maintainer(s), i.e. generally everything and the kitchen sink. This adds
layers and layers of extra software you don't actually want or need due to
the depencies that were built into the package in question, such as
including perl, python, _and_ ruby support into vim, when you only ever
use ruby - or such as building X with every single extra/unnecessary
driver, utility, service, support, etc, etc, that you don't need... etc.,
etc. ad infinitum.
With a source-based package management system such as gentoo's portage,
you can explicitly configure what you _want_ and what you dont want
built/included/extended into your packages and into your system.
Never use gtk or gnome, prefer qt and kde, and only ever script in perl?
Then add:
USE="-gtk -gnome qt kde perl"
into your portage 'make.conf' config, and _every_ package you ever install
will abide by those rules.... meaning that when installing, say, firefox -
using the above portage configuration ( "USE flags" ), then I'll get a
firefox installed on my system that doesn't also require gnome and gtk
libraries/software:
scanner ~ # emerge -s firefox
Searching...
[ Results for search key : firefox ]
[ Applications found : 2 ]
* www-client/mozilla-firefox
Latest version available: 1.5.0.5
Latest version installed: [ Not Installed ]
Size of files: 39,211 kB
Homepage: http://www.mozilla.org/projects/firefox/
Description: Firefox Web Browser
License: MPL-1.1 NPL-1.1
* www-client/mozilla-firefox-bin
Latest version available: 1.5.0.5
Latest version installed: 1.5.0.5
Size of files: 12,759 kB
Homepage: http://www.mozilla.org/projects/firefox
Description: Firefox Web Browser
License: MPL-1.1 NPL-1.1
scanner ~ # emerge -pv mozilla-firefox
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-libs/libIDL-0.8.6 USE="-debug -static" 342 kB
[ebuild N ] dev-libs/nspr-4.6.1-r2 USE="ipv6" 1,301 kB
[ebuild N ] app-arch/zip-2.31 USE="crypt" 783 kB
[ebuild N ] dev-libs/nss-3.11-r1 4,885 kB
[ebuild N ] www-client/mozilla-firefox-1.5.0.5
USE="ipv6 -debug -gnome -java -mozdevelop -xinerama -xprint"
... notice the '-gnome' and '-java', etc for
the 'www-client/mozilla-firefox' entry?
That means the firefox on this particular system wont build with those
extra dependencies.
But what happens if I 'emerge' using different USE flags? Let's see:
scanner ~ # USE="gnome java -ipv6" emerge -pv mozilla-firefox
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-libs/libIDL-0.8.6 USE="-debug -static" 342 kB
[ebuild N ] dev-libs/nspr-4.6.1-r2 USE="-ipv6" 1,301 kB
[ebuild N ] app-arch/zip-2.31 USE="crypt" 783 kB
[ebuild N ] dev-libs/nss-3.11-r1 4,885 kB
[ebuild N ] gnome-base/orbit-2.14.0 USE="ssl -debug -doc -static" 687
kB
[ebuild N ] gnome-base/gconf-2.14.0 USE="-debug -doc" 1,851 kB
[ebuild N ] gnome-base/gnome-mime-data-2.4.2 USE="-debug" 829 kB
[ebuild N ] gnome-base/libbonobo-2.14.0 USE="-debug -doc" 1,354 kB
[ebuild N ] gnome-base/gnome-vfs-2.14.2 USE="hal
ssl -avahi -debug -doc -gnutls -ipv6 -samba" 1,773 kB
[ebuild N ] gnome-base/libgnome-2.14.1 USE="esd -debug -doc -static"
971 kB
[ebuild N ] gnome-base/libglade-2.5.1 USE="-debug -doc" 310 kB
[ebuild N ] gnome-base/libgnomecanvas-2.14.0
USE="-X -debug -doc -static" 597 kB
[ebuild N ] gnome-base/gnome-keyring-0.4.9 USE="-debug" 386 kB
[ebuild N ] gnome-base/libbonoboui-2.14.0 USE="-X -debug -doc" 872 kB
[ebuild N ] gnome-base/libgnomeui-2.14.1 USE="jpeg -debug -doc" 1,847
kB
[ebuild N ] www-client/mozilla-firefox-1.5.0.5 USE="gnome
java -debug -ipv6 -mozdevelop -xinerama -xprint"
[ebuild N ] x11-themes/hicolor-icon-theme-0.8 30 kB
[ebuild N ] dev-perl/XML-NamespaceSupport-1.09 7 kB
[ebuild N ] dev-perl/XML-SAX-0.14-r1 57 kB
[ebuild N ] virtual/perl-Storable-2.15 0 kB
[ebuild N ] dev-perl/XML-Simple-2.14 64 kB
[ebuild N ] x11-misc/icon-naming-utils-0.7.0 59 kB
[ebuild N ] x11-themes/gnome-icon-theme-2.14.2 USE="-debug" 2,878 kB
Whoah... completely different result. LOTS AND LOTS of CRAP that my
WORKSTATION or SERVER DOESN'T NEED. That's exactly the sort of massive
extra overhead and cruft you'll get in a binary-based package management
system... among other undesirable artifacts.
This translates into better security.
This translates into more simple maintenance.
This translates into better performance.
If security, reliability and performance aren't something you much care
for or require in your own use of a linux-based operating system, then
that's cool, bro. To each his own, and all that.
(
Log in to post comments)