%general-entities; ]> Dependencies Every package built in LFS relies on one or more other packages in order to build and install properly. Some packages even participate in circular dependencies, that is, the first package depends on the second which in turn depends on the first. Because of these dependencies, the order in which packages are built in LFS is very important. The purpose of this page is to document the dependencies of each package built in LFS. For each package we build, we have listed three, and sometimes four, types of dependencies. The first lists what other packages need to be available in order to compile and install the package in question. The second lists what packages, in addition to those on the first list, need to be available in order to run the testsuites. The third list of dependencies are packages that require this package to be built and installed in its final location before they are built and installed. In most cases, this is because these packages will hardcode paths to binaries within their scripts. If not built in a certain order, this could result in paths of /tools/bin/[binary] being placed inside scripts installed to the final system. This is obviously not desirable. The last list of dependencies are optional packages that are not addressed in LFS, but could be useful to the user. These packages may have additional mandatory or optional dependencies of their own. For these dependencies, the recommeded practice is to install them after completion of the LFS book and then go back an rebuild the LFS package. In several cases, reinstallation is addressed in BLFS. Autoconf &dependencies; Bash, Coreutils, Grep, M4, Make, Perl, Sed, and Texinfo &testsuites; Automake, Diffutils, Findutils, GCC, and Libtool &before; Automake &external; Emacs Automake &dependencies; Autoconf, Bash, Coreutils, Gettext, Grep, M4, Make, Perl, Sed, and Texinfo &testsuites; Binutils, Bison, Bzip2, DejaGNU, Diffutils, Expect, Findutils, Flex, GCC, Gettext, Gzip, Libtool, and Tar. &before; None &external; None Bash &dependencies; Bash, Binutils, Bison, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Ncurses, Patch, Readline, Sed, and Texinfo &testsuites; None &before; None &external; Xorg Binutils &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Perl, Sed, Texinfo and Zlib &testsuites; DejaGNU and Expect &before; None &external; None Bison &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, M4, Make, and Sed &testsuites; Diffutils and Findutils &before; Flex, Kbd, and Tar &external; Doxygen (testsuite) Bzip2 &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Make, and Patch &testsuites; None &before; None &external; None Coreutils &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, GMP, Grep, Make, Patch, Perl, Sed, and Texinfo &testsuites; Diffutils, E2fsprogs, Findutils, and Util-linux-ng &before; Bash, Diffutils, Findutils, Man-DB, and Udev &external; Perl Expect and IO:Tty modules (for testsuite) DejaGNU &dependencies; Bash, Coreutils, Diffutils, GCC, Grep, Make, and Sed &testsuites; No testsuite available &before; None &external; None Diffutils &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, Make, Patch, Sed, and Texinfo &testsuites; No testsuite available &before; None &external; None Expect &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Patch, Sed, and Tcl &testsuites; None &before; None &external; None E2fsprogs &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Gzip, Make, Pkg-config, Sed, Texinfo, and Util-linux-ng &testsuites; None &before; None &external; None File &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed, and Zlib &testsuites; No testsuite available &before; None &external; None Findutils &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Sed, and Texinfo &testsuites; DejaGNU, Diffutils, and Expect &before; None &external; None Flex &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, M4, Make, Patch, Sed, and Texinfo &testsuites; Bison and Gawk &before; IPRoute2, Kbd, and Man-DB &external; None Gawk &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Patch, Sed and, Texinfo &testsuites; Diffutils &before; None &external; None Gcc &dependencies; Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC, Gettext, Glibc, GMP, Grep, M4, Make, MPFR, Patch, Perl, Sed, Tar, and Texinfo &testsuites; DejaGNU and Expect &before; None &external; GNAT GDBM &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Grep, Make, and Sed &testsuites; None &before; None &external; None Gettext &dependencies; Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, Sed, and Texinfo &testsuites; Diffutils, Perl, and Tcl &before; Automake &external; None Glibc &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Gettext, Grep, Gzip, Make, Perl, Sed, and Texinfo &testsuites; None &before; None &external; None GMP &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, M4, Make, Sed and Texinfo &testsuites; None &before; MPFR, GCC &external; None Grep &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, Make, Patch, Sed, and Texinfo &testsuites; Gawk &before; Man-DB &external; Pcre, Xorg, and CUPS Groff &dependencies; Bash, Binutils, Bison, Coreutils, Gawk, GCC, Glibc, Grep, Make, Patch, Sed, and Texinfo &testsuites; No testsuite available &before; Man-DB and Perl &external; GPL Ghostscript GRUB &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses, Sed, and Texinfo &testsuites; None &before; None &external; None Gzip &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Sed, and Texinfo &testsuites; Diffutils &before; Man-DB &external; None Iana-Etc &dependencies; Coreutils, Gawk, and Make &testsuites; No testsuite available &before; Perl &external; None Inetutils &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Ncurses, Patch, Sed, Texinfo, and Zlib &testsuites; No testsuite available &before; Tar &external; None IProute2 &dependencies; Bash, Bison, Coreutils, Flex, GCC, Glibc, Make, and Linux API Headers &testsuites; No testsuite available &before; None &external; None Kbd &dependencies; Bash, Binutils, Bison, Coreutils, Flex, GCC, Gettext, Glibc, Gzip, Make, Patch, and Sed &testsuites; No testsuite available &before; None &external; None Less &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses, and Sed &testsuites; No testsuite available &before; None &external; Pcre Libtool &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed, and Texinfo &testsuites; Findutils &before; None &external; None Linux Kernel &dependencies; Bash, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc, Grep, Gzip, Make, Module-Init-Tools, Ncurses, Perl, and Sed &testsuites; No testsuite available &before; None &external; None M4 &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Sed, and Texinfo &testsuites; Diffutils &before; Autoconf and Bison &external; None Make &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Sed, and Texinfo &testsuites; Perl and Procps &before; None &external; None Man-DB &dependencies; Bash, Binutils, Bzip2, Coreutils, Flex, GCC, GDBM, Gettext, Glibc, Grep, Groff, Gzip, Less, Make, and Sed &testsuites; Not run. Requires Man-DB testsuite package &before; None &external; None Man-Pages &dependencies; Bash, Coreutils, and Make &testsuites; No testsuite available &before; None &external; None Module-Init-Tools &dependencies; Bash, Binutils, Coreutils, Findutils, GCC, Glibc, Grep, Make, Patch, Sed, and Zlib &testsuites; Diffutils, File, Gawk, and Gzip &before; None &external; None MPFR &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, GMP, Make, Sed and Texinfo &testsuites; None &before; GCC &external; None Ncurses &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Patch, and Sed &testsuites; No testsuite available &before; Bash, GRUB, Inetutils, Less, Procps, Psmisc, Readline, Texinfo, Util-linux-ng, and Vim &external; None Patch &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and Sed &testsuites; No testsuite available &before; None &external; None Perl &dependencies; Bash, Binutils, Coreutils, Gawk, GCC, GDBM, Glibc, Grep, Groff, Make, Sed, and Zlib &testsuites; Iana-Etc and Procps &before; Autoconf &external; None Pkg-config &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, and Sed &testsuites; None &before; None &external; None Procps &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Make, and Ncurses &testsuites; No testsuite available &before; None &external; None Psmisc &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, and Sed &testsuites; No testsuite available &before; None &external; None Readline &dependencies; Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, Ncurses, Patch, Sed, and Texinfo &testsuites; No testsuite available &before; Bash &external; None Sed &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Sed, and Texinfo &testsuites; Diffutils and Gawk &before; E2fsprogs, File, Libtool, and Shadow &external; Cracklib Shadow &dependencies; Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC, Gettext, Glibc, Grep, Make, and Sed &testsuites; No testsuite available &before; None &external; None Sysklogd &dependencies; Binutils, Coreutils, GCC, Glibc, Make, and Patch &testsuites; No testsuite available &before; None &external; None Sysvinit &dependencies; Binutils, Coreutils, GCC, Glibc, Make, and Sed &testsuites; No testsuite available &before; None &external; None Tar &dependencies; Bash, Binutils, Bison, Coreutils, GCC, Gettext, Glibc, Grep, Inetutils, Make, Sed, and Texinfo &testsuites; Diffutils, Findutils, Gawk, and Gzip &before; None &external; None Tcl &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, and Sed &testsuites; None &before; None &external; None Texinfo &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Patch, and Sed &testsuites; None &before; None &external; None Udev &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, and Sed &testsuites; No testsuite available &before; None &external; None Util-linux-ng &dependencies; Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed, and Zlib &testsuites; No testsuite available &before; None &external; None Vim &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses, and Sed &testsuites; None &before; None &external; Xorg, GTK+2, LessTif, Python, Tcl, Ruby, and GPM Zlib &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Make, and Sed &testsuites; None &before; File, Module-Init-Tools, Perl, and Util-linux-ng &external; None