# 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

&dependencies;
- Bash, Coreutils, Gawk, Grep, M4, Make, Perl, Sed and Texinfo

&testsuites;
- Automake, Binutils, Diffutils, Findutils, GCC and Libtool

&before;
- Automake

Automake

&dependencies;
- Autoconf, Bash, Binutils, Coreutils, Gawk, Grep, M4, Make, Perl, Sed and Texinfo

&testsuites;
- 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.

&before;
- None

Bash

&dependencies;
- Bash, Bison, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, Make, Ncurses, Patch, Readline, Sed and Texinfo

&testsuites;
- None

&before;
- None

Binutils

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, File, Gawk, GCC, Grep, Make, Perl, Sed, Texinfo and Zlib

&testsuites;
- DejaGNU and Expect

&before;
- None

Bison

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Grep, M4, Make and Sed

&testsuites;
- Diffutils, Findutils and Gawk

&before;
- Flex, Kbd and Tar

Bzip2

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Make

&testsuites;
- Diffutils

&before;
- None

CLFS-Bootscripts

&dependencies;
- Bash, Coreutils, Make and Sed

&testsuites;
- None

&before;
- None

CLooG-PPL

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, GMP, Make, MPC, MPFR, PPL, Sed and Texinfo

&testsuites;
- None

&before;
- GCC

Coreutils

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, GMP, Grep, Make, Patch, Perl, Sed and Texinfo

&testsuites;
- Diffutils, E2fsprogs, Findutils, Util-linux

&before;
- Bash, Diffutils, Findutils, Man and Udev

DejaGNU

&dependencies;
- Bash, Coreutils, Diffutils, GCC, Grep, Make and Sed

&testsuites;
- None

&before;
- None

DHCPCD

&dependencies;
- Bash, Coreutils, GCC, Make, Sed

&testsuites;
- No testsuite available

&before;
- None

Diffutils

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Patch, Sed and Texinfo

&testsuites;
- No testsuite available

&before;
- None

EGLIBC

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Gettext, Grep, Gzip, Make, Perl, Sed and Texinfo

&testsuites;
- None

&before;
- None

Expect

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, GCC, Grep, Make, Patch, Sed and Tcl

&testsuites;
- None

&before;
- None

E2fsprogs

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gettext, Grep, Gzip, Make, Pkg-config, Sed, Texinfo and Util-linux

&testsuites;
- Bzip2 and Diffutils

&before;
- None

File

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, Make, Sed and Zlib

&testsuites;
- No testsuite available

&before;
- None

Findutils

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo

&testsuites;
- DejaGNU, Diffutils and Expect

&before;
- None

Flex

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, M4, Make, Sed and Texinfo

&testsuites;
- Bison, Diffutils and Gawk

&before;
- IPRoute2, Kbd and Man

Gawk

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo

&testsuites;
- Diffutils

&before;
- None

Gcc

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, GMP, Grep, Make, MPFR, Patch, Perl, Sed, Tar and Texinfo

&testsuites;
- DejaGNU and Expect

&before;
- None

Gettext

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, Grep, Make, Sed and Texinfo

&testsuites;
- Tar and Tcl

&before;
- Automake

Glib

&dependencies;
- bash, binutils, coreutils, gawk, gcc, gettext, make & M4.

&testsuites;
- Unknown

&before;
- Pkg-config

GMP

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, M4, Make, Sed and Texinfo

&testsuites;
- None

&before;
- MPFR, GCC

Grep

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Patch, Sed and Texinfo

&testsuites;
- Diffutils and Gawk

&before;
- Man

Groff

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Grep, Make, Perl Sed and Texinfo

&testsuites;
- No testsuite available

&before;
- Man and Perl

Gzip

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo

&testsuites;
- Diffutils

&before;
- Man

Iana-Etc

&dependencies;
- Coreutils, Gawk and Make

&testsuites;
- No testsuite available

&before;
- Perl

IProute2

&dependencies;
- Bash, Binutils, Bison, Coreutils, EGLIBC, Findutils, Flex, GCC, Make, Linux-Headers and Sed

&testsuites;
- No testsuite available

&before;
- None

IPutils

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC and Make

&testsuites;
- No testsuite available

&before;
- None

Kbd

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Gzip, Make and Sed

&testsuites;
- No testsuite available

&before;
- None

Less

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Ncurses and Sed

&testsuites;
- No testsuite available

&before;
- None

Libee

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, Grep, Libestr, Make, Pkg-config, Sed and Texinfo

&testsuites;
- None

&before;
- Rsyslog

Libestr

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, Grep, Make, Sed and Texinfo

&testsuites;
- None

&before;
- Libee and Rsyslog

Libtool

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, Grep, Make, Sed and Texinfo

&testsuites;
- Autoconf

&before;
- None

Linux-Headers

&dependencies;
- Binutils, Coreutils, Findutils, GCC, Grep, Make, Perl and Sed

&testsuites;
- No testsuite available

&before;
- None

Linux Kernel

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, GCC, Grep, Gzip, Make, Module-Init-Tools, Ncurses, Perl and Sed

&testsuites;
- No testsuite available

&before;
- None

M4

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Grep, Make, Sed and Texinfo

&testsuites;
- Diffutils

&before;
- Autoconf and Bison

Make

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo

&testsuites;
- Perl and Procps

&before;
- None

Man

&dependencies;
- Bash, Binutils, Bzip2, Coreutils, EGLIBC, Gawk, GCC, Grep, Groff, Gzip, Less, XZ-Utils, Make and Sed

&testsuites;
- No testsuite available

&before;
- None

Man-Pages

&dependencies;
- Bash, Coreutils, and Make

&testsuites;
- No testsuite available

&before;
- None

MPC

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, GMP, Make, MPFR, Sed and Texinfo

&testsuites;
- None

&before;
- GCC

MPFR

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, GMP, Make, Sed and Texinfo

&testsuites;
- None

&before;
- GCC

Module-Init-Tools

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, Findutils, GCC, Grep, Make, Sed and Zlib

&testsuites;
- Diffutils, File, Gawk and Gzip

&before;
- None

Ncurses

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, Make and Sed

&testsuites;
- No testsuite available

&before;
- Bash, GRUB, Inetutils, Less, Procps, Psmisc, Readline, Texinfo, Util-linux and Vim

Patch

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make and Sed

&testsuites;
- No testsuite available

&before;
- None

Perl

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Grep, Make and Sed

&testsuites;
- Gzip, Iana-Etc and Procps, Tar

&before;
- Autoconf

Pkg-config

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, Make and Sed

&testsuites;
- None

&before;
- Util-linux, E2fsprogs

PPL

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, GMP, Make, MPC, MPFR, Sed and Texinfo

&testsuites;
- None

&before;
- GCC

Procps

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Make and Ncurses

&testsuites;
- No testsuite available

&before;
- None

Psmisc

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Ncurses and Sed

&testsuites;
- No testsuite available

&before;
- None

Readline

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Ncurses, Patch, Sed and Texinfo

&testsuites;
- No testsuite available

&before;
- Bash

Rsyslog

&dependencies;
- Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, libee, Libestr, Make, Sed and Zlib

&testsuites;
- No testsuite available

&before;
- None

Sed

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo

&testsuites;
- Diffutils and Gawk

&before;
- E2fsprogs, File, Libtool and Shadow

Shadow

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, Gettext, Grep, Make and Sed

&testsuites;
- No testsuite available

&before;
- None

Sysvinit

&dependencies;
- Binutils, Coreutils, EGLIBC, GCC, Make and Sed

&testsuites;
- No testsuite available

&before;
- None

Tar

&dependencies;
- Bash, Binutils, Bison, Coreutils, EGLIBC, GCC, Grep, Make, Sed and Texinfo

&testsuites;
- Diffutils, Findutils, Gawk and Gzip

&before;
- None

Tcl

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, GCC, Grep, Make and Sed

&testsuites;
- None

&before;
- None

Texinfo

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, Gawk, GCC, Grep, Make, Ncurses and Sed

&testsuites;
- Diffutils and Gzip

&before;
- None

Udev

&dependencies;
- Binutils, Coreutils, Diffutils, EGLIBC, Gawk, GCC, Grep, Make and Sed

&testsuites;
- No testsuite available

&before;
- None

Util-linux

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Grep, Make, Ncurses, Pkg-config, Sed, Texinfo and Zlib

&testsuites;
- No testsuite available

&before;
- E2fsprogs

Vim

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, Gettext, Grep, Make, Ncurses, Perl and Sed

&testsuites;
- Gzip

&before;
- None

XZ-Utils

&dependencies;
- Bash, Binutils, Coreutils, Diffutils, EGLIBC, Findutils, Gawk, GCC, Grep, Make and Sed

&testsuites;
- None

&before;
- None

Zlib

&dependencies;
- Bash, Binutils, Coreutils, EGLIBC, GCC, Make and Sed

&testsuites;
- None

&before;
- File, Module-Init-Tools and Util-linux