Recipe 4.2. Preparing Your System for Compiling Programs from Sources
You know you need a
compiler and maybe some other utilities to be able to compile
programs from sources, but you're not sure exactly
There are two categories of programs that you will need:
Here is a list of the common Linux development tools:
- GNU coreutils
is a large collection of essential system utilities:
shellutils, fileutils, and
http://www.gnu.org/software/cororeutils/ for a
complete listing, or info
- GNU binutils
for doing things to binary files
collection, containing C, C++, Objective-C, Fortran, Java, and Ada,
and libraries for these languages.
- GNU tar
utility for source tarballs; these end in .tar.
often paired with tar. These end in .tar.gz.
format for packing and unpacking tarballs; these end in
This does the work of
reading your configuration options and building the actual program
The documentation for the application you are building will tell you
everything that it needs to build successfully.
Most Linux distributions have an installation option
Development Tools," or some such, so you
don't have to hunt down and install them
You'll need to read the documentation for the
application you are building to find out any requirements specific to
the program. Look for README, INSTALL, and other documentation in the
source tarball. Read everything. When you run the configure script,
it will check your system to see if all the required elements are
present. If anything is missing, it will exit with errors, and tell
what you need.
4.2.4 See Also