Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The real question would be, why would you want all the libraries? Some are not exactly good for your system.
Anyways, Windows has a much bigger problem with DLL's, which is why you don't see library problems, each program contains all the libraries within itself. This is because DLL's are implemented crappily on Windows, forcing applications to find ways around it, rather then make use of it.
In any case, with Gentoo, i have never had to go hunting, it has by far the best package manager around, if only the packages it contains where actually stable and as well tested as those that other distributions use.
Anyways, i would say about 1 gig should be enough for pretty much all the libraries, but talk about wasted space. Also note: binary distros often need to include several versions of the same library, this is related to the ABI differences in different versions of a library, even if the API is compatible. So i really don't want to imagine how much space it would need, or even what it would look like.
One of the reasons that linux is a powerful OS is that it let's you choose the pieces of software you want to install. With windows you're pretty much stuck with what the dummy wizard is trying to tell you. With Linux, Common used libraries can be installed with the operating system. other's like the ones under development or the ones that are not heavily used don't need to be installed unless they are required by other software.
Source codes, RPM packages, Debian or slakcware packages usually come with documentation what will list library requirement if any is needed.
I'm not an expert on this subject and i had many problems before but it makes sense for a programmer not to write his own library if there is one already ready to use available...
Why doesn't Linux come with all libraries for everything? because you wouldn't like for you installation to be 8 GB instead of 2 or 3 ... and for the simple fact that Linux works this way: No software is installed unless it's needed !
Last edited by waelaltaqi; 02-20-2007 at 02:04 PM.
Just compile everything to be static, instant Windows on *nix, or get some distribution to compile everything static. Pretty much every binary released for Linux is statically compiled to avoid nasty libraries.
Yes, statically compiled binaries do not need external libraries, everything is included in them. By default, they are considered evil in *nix because of a good library implementation, and they consume more resources (in terms of disk space) with little advantage.
Compilation is the process of converting a software source code to machine code that your computer can understand. To compile source code, you need to have compiler to convert the source code to a machine code. A programer will write his/her software using a certain programing language and a compiler is used to convert the high level programming language to a low level machine code. My knowledge on this subject is very limited but this is the way i understood it.
Technically, you need a compiler installed to compile source code. most Linux distros come with compilers preintalled. Usually the source code will include INSTALL or README file that will explain who to compile...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.