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 xvzfxmorph-current/ xmorph-current/Makefile.in xmorph-current/gtkmorph/ xmorph-current/gtkmorph/ChangeLog xmorph-current/gtkmorph/Makefile.in xmorph-current/gtkmorph/README xmorph-current/gtkmorph/Makefile.amxmorph_20040717.tar.gz...(Lines snipped)...If the file is compressed with bzip2 (usually indicated by a filename that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access