B. Dependencies

Every package built in CLFS 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 CLFS is very important. The purpose of this page is to document the dependencies of each package built in CLFS.

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 those on 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

Installation depends on: Bash, Coreutils, Gawk, Grep, M4, Make, Perl, Sed and Texinfo
Test suite depends on: Automake, Binutils, Diffutils, Findutils, GCC and Libtool
Must be installed before: Automake

Automake

Installation depends on: Autoconf, Bash, Binutils, Coreutils, Gawk, Grep, M4, Make, Perl, Sed and Texinfo
Test suite depends on: Bison, Bzip2, DejaGNU, Diffutils, Expect, Findutils, Flex, GCC, Gettext, Gzip, Libtool, XZ-Utils and Tar. Can also use several other packages that are not installed in CLFS.
Must be installed before: None

Bash

Installation depends on: Bash, Bison, Coreutils, Diffutils, Gawk, EGLIBC, GCC, Grep, Make, Ncurses, Patch, Readline, Sed and Texinfo
Test suite depends on: None
Must be installed before: None

Binutils

Installation depends on: Bash, Binutils, Coreutils, Diffutils, File, Gawk, EGLIBC, GCC, Grep, Make, Perl, Sed, Texinfo and Zlib
Test suite depends on: DejaGNU and Expect
Must be installed before: None

Bison

Installation depends on: Bash, Binutils, Coreutils, Gawk, EGLIBC, GCC, Grep, M4, Make and Sed
Test suite depends on: Diffutils, Findutils and Gawk
Must be installed before: Flex, Kbd and Tar

Bzip2

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Make
Test suite depends on: Diffutils
Must be installed before: None

CLFS-Bootscripts

Installation depends on: Bash, Coreutils, Make and Sed
Test suite depends on: None
Must be installed before: None

Coreutils

Installation depends on: Bash, Binutils, Coreutils, Gawk, EGLIBC, GCC, GMP, Grep, Make, Patch, Perl, Sed and Texinfo
Test suite depends on: Diffutils, E2fsprogs, Findutils, Util-linux-ng
Must be installed before: Bash, Diffutils, Findutils, Man and Udev

DejaGNU

Installation depends on: Bash, Coreutils, Diffutils, GCC, Grep, Make and Sed
Test suite depends on: None
Must be installed before: None

DHCPCD

Installation depends on: Bash, Coreutils, GCC, Make, Sed
Test suite depends on: No testsuite available
Must be installed before: None

Diffutils

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Patch, Sed and Texinfo
Test suite depends on: No testsuite available
Must be installed before: None

Expect

Installation depends on: Bash, Binutils, Coreutils, Diffutils, EGLIBC, GCC, Grep, Make, Patch, Sed and Tcl
Test suite depends on: None
Must be installed before: None

E2fsprogs

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gettext, Grep, Gzip, Make, Sed, Texinfo and Util-linux-ng
Test suite depends on: Bzip2 and Diffutils
Must be installed before: None

File

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Gawk, EGLIBC, GCC, Grep, Make, Sed and Zlib
Test suite depends on: No testsuite available
Must be installed before: None

Findutils

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo
Test suite depends on: DejaGNU, Diffutils and Expect
Must be installed before: None

Flex

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, M4, Make, Sed and Texinfo
Test suite depends on: Bison, Diffutils and Gawk
Must be installed before: IPRoute2, Kbd and Man

Gawk

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo
Test suite depends on: Diffutils
Must be installed before: None

Gcc

Installation depends on: Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, GMP, Grep, Make, MPFR, Patch, Perl, Sed, Tar and Texinfo
Test suite depends on: DejaGNU and Expect
Must be installed before: None

Gettext

Installation depends on: Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, Grep, Make, Sed and Texinfo
Test suite depends on: Tar and Tcl
Must be installed before: Automake

EGLIBC

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Gettext, Grep, Gzip, Make, Perl, Sed and Texinfo
Test suite depends on: None
Must be installed before: None

GMP

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Gawk, EGLIBC, GCC, Grep, M4, Make, Sed and Texinfo
Test suite depends on: None
Must be installed before: MPFR, GCC

Grep

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Patch, Sed and Texinfo
Test suite depends on: Diffutils and Gawk
Must be installed before: Man

Groff

Installation depends on: Bash, Binutils, Coreutils, Gawk, EGLIBC, GCC, Grep, Make, Perl Sed and Texinfo
Test suite depends on: No testsuite available
Must be installed before: Man and Perl

Gzip

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo
Test suite depends on: Diffutils
Must be installed before: Man

Iana-Etc

Installation depends on: Coreutils, Gawk and Make
Test suite depends on: No testsuite available
Must be installed before: Perl

IProute2

Installation depends on: Bash, Binutils, Bison, Coreutils, Findutils, Flex, EGLIBC, GCC, Make, Linux-Headers and Sed
Test suite depends on: No testsuite available
Must be installed before: None

IPutils

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC and Make
Test suite depends on: No testsuite available
Must be installed before: None

Kbd

Installation depends on: Bash, Binutils, Coreutils, Gawk, EGLIBC, GCC, Gzip, Make and Sed
Test suite depends on: No testsuite available
Must be installed before: None

Less

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Ncurses and Sed
Test suite depends on: No testsuite available
Must be installed before: None

Libtool

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, EGLIBC, GCC, Grep, Make, Sed and Texinfo
Test suite depends on: Autoconf
Must be installed before: None

Linux-Headers

Installation depends on: Binutils, Coreutils, Findutils, GCC, Grep, Make, Perl and Sed
Test suite depends on: No testsuite available
Must be installed before: None

Linux Kernel

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Findutils, EGLIBC, GCC, Grep, Gzip, Make, Module-Init-Tools, Ncurses, Perl and Sed
Test suite depends on: No testsuite available
Must be installed before: None

M4

Installation depends on: Bash, Binutils, Coreutils, Gawk, EGLIBC, GCC, Grep, Make, Sed and Texinfo
Test suite depends on: Diffutils
Must be installed before: Autoconf and Bison

Make

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo
Test suite depends on: Perl and Procps
Must be installed before: None

Man

Installation depends on: Bash, Binutils, Bzip2, Coreutils, EGLIBC, Gawk, GCC, Grep, Groff, Gzip, Less, XZ-Utils, Make and Sed
Test suite depends on: No testsuite available
Must be installed before: None

Man-Pages

Installation depends on: Bash, Coreutils, and Make
Test suite depends on: No testsuite available
Must be installed before: None

MPFR

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Gawk, EGLIBC, GCC, Grep, GMP, Make, Sed and Texinfo
Test suite depends on: None
Must be installed before: GCC

Module-Init-Tools

Installation depends on: Bash, Binutils, Coreutils, Findutils, EGLIBC, GCC, Grep, Make, Sed and Zlib
Test suite depends on: Diffutils, File, Gawk and Gzip
Must be installed before: None

Ncurses

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Gawk, EGLIBC, GCC, Grep, Make and Sed
Test suite depends on: No testsuite available
Must be installed before: Bash, GRUB, Inetutils, Less, Procps, Psmisc, Readline, Texinfo, Util-linux-ng and Vim

Patch

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make and Sed
Test suite depends on: No testsuite available
Must be installed before: None

Perl

Installation depends on: Bash, Binutils, Coreutils, Gawk, EGLIBC, GCC, Grep, Make and Sed
Test suite depends on: Gzip, Iana-Etc and Procps, Tar
Must be installed before: Autoconf

Procps

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Make and Ncurses
Test suite depends on: No testsuite available
Must be installed before: None

Psmisc

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Ncurses and Sed
Test suite depends on: No testsuite available
Must be installed before: None

Readline

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Ncurses, Patch, Sed and Texinfo
Test suite depends on: No testsuite available
Must be installed before: Bash

Rsyslog

Installation depends on: Binutils, Coreutils, Diffutils, Gawk, EGLIBC, GCC, Grep, Make and Sed
Test suite depends on: No testsuite available
Must be installed before: None

Sed

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo
Test suite depends on: Diffutils and Gawk
Must be installed before: E2fsprogs, File, Libtool and Shadow

Shadow

Installation depends on: Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, Gettext, Grep, Make and Sed
Test suite depends on: No testsuite available
Must be installed before: None

Sysvinit

Installation depends on: Binutils, Coreutils, EGLIBC, GCC, Make and Sed
Test suite depends on: No testsuite available
Must be installed before: None

Tar

Installation depends on: Bash, Binutils, Bison, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo
Test suite depends on: Diffutils, Findutils, Gawk and Gzip
Must be installed before: None

Tcl

Installation depends on: Bash, Binutils, Coreutils, Diffutils, EGLIBC, GCC, Grep, Make and Sed
Test suite depends on: None
Must be installed before: None

Texinfo

Installation depends on: Bash, Binutils, Coreutils, Gawk, EGLIBC, GCC, Grep, Make, Ncurses and Sed
Test suite depends on: Diffutils and Gzip
Must be installed before: None

Udev

Installation depends on: Binutils, Coreutils, Diffutils, Gawk, EGLIBC, GCC, Grep, Make and Sed
Test suite depends on: No testsuite available
Must be installed before: None

Util-linux-ng

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Ncurses, Sed, Texinfo and Zlib
Test suite depends on: No testsuite available
Must be installed before: E2fsprogs

Vim

Installation depends on: Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, Gettext, Grep, Make, Ncurses, Perl and Sed
Test suite depends on: Gzip
Must be installed before: None

XZ-Utils

Installation depends on: Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, Grep, Make and Sed
Test suite depends on: None
Must be installed before: None

Zlib

Installation depends on: Bash, Binutils, Coreutils, EGLIBC, GCC, Make and Sed
Test suite depends on: None
Must be installed before: File, Module-Init-Tools and Util-linux-ng