Installing From Source
Although there are thousands of packages available in RPM format ready to be installed on a Fedora system, there is a lot of open source software (http://opensource.org) that hasn’t been packaged into RPMs. This software can be compiled and installed directly from the source files.
How Do I Do That?
Most open source software follows a certain set of conventions—one that the community has adopted as a de facto standard:
The software is packaged in compressed tar format (.tar.gz or .tgz).
A configure script is provided, which analyzes the system (by trying to compile many tiny programs and attempting to locate certain programs and files). After this analysis, a Makefile is produced.
The Makefile contains the logic to build and to install the package.
Basic documentation, including pointers and licensing information, is contained in files with uppercase names such as README, INSTALL, TODO, and LICENSE.
To install software distributed this way:
Obtain the compressed tar file (or tarball) containing the source. You can use a browser to find and download open source software from sites such as http://sourceforge.net.
Unpack the tarball:
$
tar xvzf
xmorph_20040717.tar.gz
...(Lines snipped)...
If the file is compressed with bzip2 (usually indicated by a filename that ...
Get Fedora Linux now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.