Going Beyond BLFS

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 /, or /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.

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.

Some general hints on handling new packages:

[Tip]

Tip

If you have found a package that is only available in .deb or .rpm format, there are different methods of extracting them.

.deb files are just archives that are created and extracted by ar. It can be extracted by running: ar x $PACKAGE.deb. It will extract many files; however, the important one is data.tar.gz. It contains all the files that would typically be installed from it.

For .rpm files, you can install rpmextract (see the PKGBUILD for how they install the package) and use rpmextract.sh from the package to extract the file. It will extract to multiple directories, such as app and usr. You can also use File-Roller-44.5 or ark-24.12.2 for the extraction.