%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 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 the first list need to be available in order to run the testsuites. The last 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. Autoconf &dependencies; Bash, Coreutils, M4, Make, Perl, Sed and Texinfo &testsuites; Automake, Diffutils, Findutils, GCC and Libtool &before; Automake 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. Also note that the "destdir" test will always be skipped, because it only works for non-root users, and several other tests will be skipped as they depend on packages not installed in LFS &before; None Bash &dependencies; Bash, Bison, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses, Patch, Readline, Sed and Texinfo &testsuites; Diffutils and Gawk &before; None Berkeley DB &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make and Sed &testsuites; None &before; None Binutils &dependencies; Bash, Coreutils, Diffutils, Expect, GCC, Gettext, Glibc, Grep, Make, Perl, Sed, Tcl and Texinfo &testsuites; DejaGNU and Expect &before; None Bison &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, M4, Make and Sed &testsuites; Diffutils and Findutils &before; Flex, Kbd and Tar Bzip2 &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Make and Patch &testsuites; None &before; None Coreutils &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Patch, Perl, Sed and Texinfo &testsuites; Diffutils &before; Bash, Diffutils, Findutils, Man-DB and Udev Diffutils &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, Make, Patch, Sed and Texinfo &testsuites; None &before; None Expect &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Patch, Sed and Tcl &testsuites; None &before; None E2fsprogs &dependencies; Bash, Binutils, Coreutils, Gawk, GCC, Gettext, Glibc, Grep, Gzip, Make, Sed and Texinfo &testsuites; Diffutils &before; Util-Linux File &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed and Zlib &testsuites; None &before; None Findutils &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Sed and Texinfo &testsuites; DejaGNU, Diffutils and Expect &before; 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 Gawk &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Patch, Sed and Texinfo &testsuites; Diffutils &before; None Gcc &dependencies; Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC, Gettext, Glibc, Grep, Make, Patch, Perl, Sed, Tar and Texinfo &testsuites; DejaGNU and Expect &before; None Gettext &dependencies; Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, Sed and Texinfo &testsuites; Diffutils, Perl and Tcl &before; Automake Grep &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Make, Patch, Sed and Texinfo &testsuites; Diffutils and Gawk &before; Man-DB Groff &dependencies; Bash, Binutils, Bison, Coreutils, Gawk, GCC, Glibc, Grep, Make, Patch, Sed and Texinfo &testsuites; None &before; Man-DB and Perl GRUB &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses, Sed and Texinfo &testsuites; None &before; None Gzip &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Patch, Sed and Texinfo &testsuites; None &before; Man-DB Iana-Etc &dependencies; Coreutils, Gawk and Make &testsuites; None &before; Perl Inetutils &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Ncurses, Patch, Sed and Texinfo &testsuites; None &before; Tar IProute2 &dependencies; Bash, Berkeley DB, Bison, Coreutils, Flex, GCC, Glibc, Make and Linux-Libc-Headers &testsuites; None &before; None Kbd &dependencies; Bash, Binutils, Bison, Coreutils, Flex, GCC, Gettext, Glibc, Gzip, Make, Patch and Sed &testsuites; None &before; None Less &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses and Sed &testsuites; None &before; None Libtool &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed and Texinfo &testsuites; Findutils &before; None Linux Kernel &dependencies; Bash, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc, Grep, Gzip, Make, Module-Init-Tools, Ncurses and Sed &testsuites; None &before; None M4 &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make and Sed &testsuites; Diffutils &before; Autoconf and Bison Man-DB &dependencies; Bash, Berkeley DB, Binutils, Bzip2, Coreutils, Flex, GCC, Gettext, Glibc, Grep, Groff, Gzip, Less, Make and Sed &testsuites; Diffutils &before; Autoconf and Bison Make &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, Make, Sed and Texinfo &testsuites; Perl &before; None Mktemp &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Patch and Sed &testsuites; None &before; None Module-Init-Tools &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Sed and Zlib &testsuites; File, Findutils and Gawk &before; None Ncurses &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Patch and Sed &testsuites; None &before; Bash, GRUB, Inetutils, Less, Procps, Psmisc, Readline, Texinfo, Util-Linux and Vim Patch &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make and Sed &testsuites; None &before; None Perl &dependencies; Bash, Berkeley DB, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Groff, Make and Sed &testsuites; Iana-Etc and Procps &before; Autoconf Procps &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Make and Ncurses &testsuites; None &before; None Psmisc &dependencies; Bash, Coreutils, GCC, Gettext, Glibc, Grep, Make, Ncurses and Sed &testsuites; None &before; None Readline &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Ncurses, Patch, Sed and Texinfo &testsuites; None &before; Bash Sed &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Sed and Texinfo &testsuites; Diffutils and Gawk &before; E2fsprogs, File, Libtool and Shadow Shadow &dependencies; Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC, Gettext, Glibc, Grep, Make and Sed &testsuites; None &before; None Sysklogd &dependencies; Binutils, Coreutils, GCC, Glibc, Make and Patch &testsuites; None &before; None Sysvinit &dependencies; Binutils, Coreutils, GCC, Glibc, Make and Sed &testsuites; None &before; None Tar &dependencies; Bash, Binutils, Bison, Bzip2, Coreutils, GCC, Gettext, Glibc, Grep, Gzip, Inetutils, Make, Patch, Sed and Texinfo &testsuites; Diffutils, Findutils and Gawk &before; None Tcl &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make and Sed &testsuites; None &before; None Texinfo &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Patch and Sed &testsuites; None &before; None Udev &dependencies; Binutils, Coreutils, GCC, Glibc and Make &testsuites; Findutils, Perl, Sed and Tree &before; None Util-Linux &dependencies; Bash, Binutils, Coreutils, E2fprogs, GCC, Gettext, Glibc, Grep, Make, Ncurses, Patch, Sed and Zlib &testsuites; None &before; None Vim &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses and Sed &testsuites; None &before; None Zlib &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make and Sed &testsuites; None &before; File, Module-Init-Tools and Util-Linux