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 test suites. 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, Texinfo
Test suite depends on: Automake, Binutils, Diffutils, Findutils, GCC, Libtool
Must be installed before: Automake

Automake

Installation depends on: Autoconf, Bash, Binutils, Coreutils, Gawk, Grep, M4, Make, Perl, Sed, Texinfo
Test suite depends on: Bison, Bzip2, DejaGNU, Diffutils, Expect, Findutils, Flex, GCC, Gettext, Gzip, Libtool, Tar, XZ Utils. 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, Glibc, Gawk, GCC, Grep, Make, Ncurses, Patch, Readline, Sed, Texinfo
Test suite depends on: None
Must be installed before: None

Bc

Installation depends on: Bash, Binutils, Bison, Coreutils, Glibc, GCC, Grep, Make, Readline
Test suite depends on: Gawk
Must be installed before: None

Binutils

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

Bison

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

Bzip2

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

CLFS-Bootscripts

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

Check

Installation depends on: GCC, Grep, Make, Sed, Texinfo
Test suite depends on: None
Must be installed before: None

CLooG

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Glibc, Gawk, GCC, Grep, GMP, ISL, Make, MPC, MPFR, Sed, Texinfo
Test suite depends on: None
Must be installed before: GCC

Coreutils

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

DejaGNU

Installation depends on: Bash, Coreutils, Diffutils, GCC, Grep, Make, 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 test suite available
Must be installed before: None

Diffutils

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

Eudev

Installation depends on: Binutils, Coreutils, Diffutils, Glibc, Gawk, GCC, Grep, Make, Sed
Test suite depends on: No test suite available
Must be installed before: Systemd

Expect

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

E2fsprogs

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

File

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

Findutils

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

Flex

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

Gawk

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

Gcc

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

GDBM

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

Gettext

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

Glibc

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

GMP

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

Grep

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

Groff

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

Gzip

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

Iana-Etc

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

IProute2

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

IPutils

Installation depends on: Bash, Binutils, Coreutils, Glibc, GCC, Make
Test suite depends on: No test suite available
Must be installed before: None

ISL

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

Kbd

Installation depends on: Bash, Binutils, Check, Coreutils, Glibc, Gawk, GCC, Gzip, Make
Test suite depends on: No test suite available
Must be installed before: None

KMOD

Installation depends on: Bash, Binutils, Bison, Coreutils, Glibc, Flex, Gawk, GCC, Gettext, Gzip, Make, Pkg-config-lite, Sed, XZ Utils, Zlib.
Test suite depends on: No test suite available
Must be installed before: Eudev

Less

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

Libee

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Glibc, Findutils, Gawk, GCC, Grep, Libestr, Make, Pkg-config-lite, Sed, Texinfo
Test suite depends on: No test suite available
Must be installed before: Rsyslog

Libestr

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Glibc, Findutils, Gawk, GCC, Grep, Make, Sed, Texinfo
Test suite depends on: None
Must be installed before: Libee, Rsyslog

Libpipeline

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed, Texinfo
Test suite depends on: Check
Must be installed before: Man-DB

Libtool

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

Linux Headers

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

Linux Kernel

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Glibc, Findutils, GCC, Grep, Gzip, Make, KMOD, Ncurses, Perl, Sed
Test suite depends on: No test suite available
Must be installed before: None

M4

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

Make

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

Man-DB

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

Man-Pages

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

MPC

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

MPFR

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

KMOD

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

Ncurses

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

Patch

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

Perl

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

Pkg-config-lite

Installation depends on: Bash, Binutils, Coreutils, Diffutils, Glibc, Gawk, GCC, Grep, Make, Sed
Test suite depends on: None
Must be installed before: Util-linux, E2fsprogs

Procps

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

Psmisc

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

Readline

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

Rsyslog

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

Sed

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

Shadow

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

Sysvinit

Installation depends on: Binutils, Coreutils, Glibc, GCC, Make, Sed
Test suite depends on: No test suite available
Must be installed before: None

Tar

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

Tcl

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

Texinfo

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

Eudev

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

Util-linux

Installation depends on: Bash, Binutils, Coreutils, Glibc, GCC, Grep, Make, Ncurses, Pkg-config-lite, Sed, Texinfo, Zlib
Test suite depends on: No testsuite available
Must be installed before: E2fsprogs

Vim

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

XZ Utils

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

Zlib

Installation depends on: Bash, Binutils, Coreutils, Glibc, GCC, Make, Sed
Test suite depends on: None
Must be installed before: File, KMOD, Util-linux