The packages that are installed in this book are only the tip of the iceberg. We hope that the experience you gained with the LFS book and the BLFS book will give you the background needed to compile, install and configure packages that are not included in this book.
When you want to install a package to a location other than
/usr, you are installing outside the default
environment settings on most machines. The following examples should
assist you in determining how to correct this situation. The examples
cover the complete range of settings that may need updating, but they
are not all needed in every situation.
PATH to include
root to include
/etc/ld.so.conf or expand
LD_LIBRARY_PATH to include it. Before using the
latter option, check out http://xahlee.org/UnixResource_dir/_/ldpath.html.
If you modify
remember to update
/etc/ld.so.cache by executing ldconfig as the
/etc/man_db.conf or expand
PKG_CONFIG_PATH. Some packages are
.pc files in
$PREFIX/share/pkgconfig, so you
may have to include this directory also.
CPPFLAGS when compiling packages
that depend on the package you installed.
LDFLAGS when compiling packages that depend on a
library installed by the package.
If you are in search of a package that is not in the book, the following are different ways you can search for the desired package.
If you know the name of the package, then search FreshMeat for
it at http://freshmeat.net/. Also search
Google at http://google.com/. Sometimes a search
rpm at http://rpmfind.net/ or the
deb at http://www.debian.org/distrib/packages#search_packages
can also lead to a link to the package.
If you know the name of the executable, but not the package that the executable belongs to, first try a Google search with the name of the executable. If the results are overwhelming, try searching for the given executable in the Debian repository at http://www.debian.org/distrib/packages#search_contents.
Some general hints on handling new packages:
Many of the newer packages follow the ./configure && make && make install process. Help on the options accepted by configure can be obtained via the command ./configure --help.
Most of the packages contain documentation on compiling and installing the package. Some of the documents are excellent, some not so excellent. Check out the homepage of the package for any additional and updated hints for compiling and configuring the package.
If you are having a problem compiling the package, try searching the LFS archives at http://www.linuxfromscratch.org/search.html for the error or if that fails, try searching Google. If everything else fails, try the blfs-support mailing-list.
If you have found a package that is only available in
format, there are two small scripts, rpm2targz and deb2targz that are available at
to convert the archives into a simple
Last updated on 2008-02-25 11:58:32 -0600