%general-entities; Systemd Udev"> ]> Зависимости Каждый пакет в системе LFS для правильной сборки и установки может ссылаться на один или несколько других пакетов. Некоторые пакеты могут иметь циклические зависимости, то есть первый пакет зависит от второго, который в свою очередь, зависит от первого. Именно по этой причине, указанный порядок сборки пакетов в LFS очень важен. Цель этой страницы - документировать зависимости каждого пакета, собранного в LFS Для каждого собираемого пакета существует три, а иногда и до пяти типов зависимостей, перечисленных ниже. В первом списке перечислены другие пакеты, которые должны быть доступны для компиляции и установки рассматриваемого пакета. Во втором перечислены пакеты, которые должны быть доступны, когда какие-либо программы или библиотеки из пакета используются во время выполнения. В третьем списке перечислены пакеты, которые в дополнение к пакетам из первого списка должны быть доступны для запуска наборов тестов. Четвертый список зависимостей — это пакеты, которые требуют, чтобы некий пакет был собран и установлен по определенному пути, прежде чем они будут собраны и установлены. В большинстве случаев это связано с тем, что такие пакеты жестко кодируют пути к двоичным файлам в своих сценариях. Если сборка выполняется не в том порядке, это может привести к тому, что пути /tools/bin/[binary] будут размещены внутри скриптов, установленных в готовой системе, что крайне нежелательно. Последний список зависимостей - это необязательные пакеты, которые не рассматриваются в LFS, но могут быть полезны пользователю. Эти пакеты могут иметь дополнительные как обязательные, так и необязательные зависимости. Такие зависимости - рекомендуется разрешать после завершения сборки всей системы LFS. В некоторых случаях, повторная установка некоторых таких пакетов рассматривается в BLFS. Acl &dependencies; Attr, Bash, Binutils, Coreutils, GCC, Gettext, Grep, M4, Make, Perl, Sed и Texinfo &runtime; Attr и Glibc &testsuites; Automake, Diffutils, Findutils и Libtool &before; Coreutils, Sed, Tar и Vim &external; Нет Attr &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, M4, Make, Perl, Sed и Texinfo &runtime; Glibc &testsuites; Automake, Diffutils, Findutils и Libtool &before; Acl и Libcap &external; Нет Autoconf &dependencies; Bash, Coreutils, Grep, M4, Make, Perl, Sed и Texinfo &runtime; Bash, Coreutils, Grep, M4, Make, Sed и Texinfo &testsuites; Automake, Diffutils, Findutils, GCC и Libtool &before; Automake и Coreutils &external; Emacs Automake &dependencies; Autoconf, Bash, Coreutils, Gettext, Grep, M4, Make, Perl, Sed, и Texinfo &runtime; Bash, Coreutils, Grep, M4, Sed и Texinfo &testsuites; Binutils, Bison, Bzip2, DejaGNU, Diffutils, Expect, Findutils, Flex, GCC, Gettext, Gzip, Libtool и Tar &before; Coreutils &external; Нет Bash &dependencies; Bash, Binutils, Bison, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Ncurses, Patch, Readline, Sed и Texinfo &runtime; Glibc, Ncurses и Readline &testsuites; Expect и Shadow &before; Нет &external; Xorg Bc &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make и Readline &runtime; Glibc, Ncurses и Readline &testsuites; Gawk &before; Linux &external; Нет Binutils &dependencies; Bash, Binutils, Coreutils, Diffutils, File, Flex, Gawk, GCC, Glibc, Grep, Make, Perl, Pkgconf, Sed, Texinfo, Zlib и Zstd &runtime; Glibc, Zlib и Zstd &testsuites; DejaGNU и Expect &before; Нет &external; Elfutils и Jansson Bison &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, M4, Make, Perl и Sed &runtime; Glibc &testsuites; Diffutils, Findutils и Flex &before; Kbd и Tar &external; Doxygen Bzip2 &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Make и Patch &runtime; Glibc &testsuites; Нет &before; File и Libelf &external; Нет Check &dependencies; Gawk, GCC, Grep, Make, Sed и Texinfo &runtime; Bash и Gawk &testsuites; Нет &before; Нет &external; libsubunit и patchutils Coreutils &dependencies; Autoconf, Automake, Bash, Binutils, Coreutils, GCC, Gettext, Glibc, GMP, Grep, Libcap, Make, OpenSSL, Patch, Perl, Sed и Texinfo &runtime; Glibc &testsuites; Diffutils, E2fsprogs, Findutils, Shadow и Util-linux &before; Bash, Diffutils, Findutils, Man-DB и &systemd-udev; &external; Expect.pm и IO::Tty D-Bus &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Pkgconf, Sed, Systemd и Util-linux &runtime; Glibc и Systemd &testsuites; Несколько пакетов в BLFS &before; Нет &external; Библиотеки Xorg DejaGNU &dependencies; Bash, Coreutils, Diffutils, Expect, GCC, Grep, Make, Sed и Texinfo &runtime; Expect и Bash &testsuites; Нет &before; Нет &external; Нет Diffutils &dependencies; Bash, Binutils, Coreutils, Gawk, GCC, Gettext, Glibc, Grep, Make, Sed и Texinfo &runtime; Glibc &testsuites; Perl &before; Нет &external; Нет E2fsprogs &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Gzip, Make, Pkgconf, Sed, Systemd, Texinfo и Util-linux &runtime; Glibc и Util-linux &testsuites; Procps-ng и Psmisc &before; Нет &external; Нет Expat &dependencies; Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make и Sed &runtime; Glibc &testsuites; Нет &before; Python и XML::Parser &external; Нет Expect &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Patch, Sed и Tcl &runtime; Glibc и Tcl &testsuites; Нет &before; Нет &external; Tk File &dependencies; Bash, Binutils, Bzip2, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed, Xz и Zlib &runtime; Glibc, Bzip2, Xz и Zlib &testsuites; Нет &before; Нет &external; libseccomp Findutils &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Sed, и Texinfo &runtime; Bash и Glibc &testsuites; DejaGNU, Diffutils и Expect &before; Нет &external; Нет Flex &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, M4, Make, Patch, Sed и Texinfo &runtime; Bash, Glibc и M4 &testsuites; Bison и Gawk &before; Binutils, IProute2, Kbd, Kmod и Man-DB &external; Нет Flit-Core &dependencies; Python &runtime; Python &testsuites; Набор тестов недоступен &before; Wheel &external; pytest и testpath Gawk &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, GMP, Grep, Make, MPFR, Patch, Readline, Sed и Texinfo &runtime; Bash, Glibc и Mpfr &testsuites; Diffutils &before; Нет &external; libsigsegv GCC &dependencies; Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC, Gettext, Glibc, GMP, Grep, Libxcrypt, M4, Make, MPC, MPFR, Patch, Perl, Sed, Tar, Texinfo и Zstd &runtime; Bash, Binutils, Glibc, Mpc и Python &testsuites; DejaGNU, Expect и Shadow &before; Нет &external; GDC, GNAT, и ISL GDBM &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Grep, Make и Sed &runtime; Bash, Glibc и Readline &testsuites; Нет &before; Нет &external; Нет Gettext &dependencies; Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, Ncurses, Sed и Texinfo &runtime; Acl, Bash, Gcc и Glibc &testsuites; Diffutils, Perl и Tcl &before; Automake и Bison &external; Нет Glibc &dependencies; Bash, Binutils, Bison, Coreutils, Diffutils, Gawk, GCC, Gettext, Grep, Gzip, Linux API Headers, Make, Perl, Python, Sed и Texinfo &runtime; Нет &testsuites; File &before; Нет &external; Нет GMP &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, M4, Make, Sed и Texinfo &runtime; GCC и Glibc &testsuites; Нет &before; MPFR и GCC &external; Нет Gperf &dependencies; Bash, Binutils, Coreutils, GCC, Glibc и Make &runtime; GCC и Glibc &testsuites; Diffutils и Expect &before; Нет &external; Нет Grep &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, Make, Patch, Sed и Texinfo &runtime; Glibc &testsuites; Gawk &before; Man-DB &external; PCRE2 и libsigsegv Groff &dependencies; Bash, Binutils, Bison, Coreutils, Gawk, GCC, Glibc, Grep, Make, Patch, Sed и Texinfo &runtime; GCC, Glibc и Perl &testsuites; Набор тестов недоступен &before; Man-DB и Perl &external; ghostscript и Uchardet GRUB &dependencies; Bash, Binutils, Bison, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed, Texinfo и Xz &runtime; Bash, GCC, Gettext, Glibc, Xz и Sed. &testsuites; Нет &before; Нет &external; Нет Gzip &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Sed и Texinfo &runtime; Bash и Glibc &testsuites; Diffutils и Less &before; Man-DB &external; Нет Iana-Etc &dependencies; Coreutils &runtime; Нет &testsuites; Набор тестов недоступен &before; Perl &external; Нет Inetutils &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Ncurses, Patch, Sed, Texinfo и Zlib &runtime; GCC, Glibc, Ncurses и Readline &testsuites; Нет &before; Tar &external; Нет Intltool &dependencies; Bash, Gawk, Glibc, Make, Perl, Sed и XML::Parser &runtime; Autoconf, Automake, Bash, Glibc, Grep, Perl и Sed &testsuites; Perl &before; Нет &external; Нет IProute2 &dependencies; Bash, Bison, Coreutils, Flex, GCC, Glibc, Make, Libcap, Libelf, Linux API Headers и Zlib &runtime; Bash, Coreutils, Glibc, Libcap, Libelf и Zlib &testsuites; Набор тестов недоступен &before; Нет &external; Berkeley DB, iptables, libbpf, libmnl и libtirpc Jinja2 &dependencies; MarkupSafe и Python &runtime; MarkupSafe и Python &testsuites; Набор тестов недоступен &before; &systemd-udev; &external; Нет Kbd &dependencies; Bash, Binutils, Bison, Check, Coreutils, Flex, GCC, Gettext, Glibc, Gzip, Make, Patch и Sed &runtime; Bash, Coreutils и Glibc &testsuites; Нет &before; Нет &external; Нет Kmod &dependencies; Bash, Binutils, Bison, Coreutils, Flex, GCC, Gettext, Glibc, Gzip, Make, OpenSSL, Pkg-config, Sed, Xz и Zlib &runtime; Glibc, Xz и Zlib &testsuites; Набор тестов недоступен &before; &systemd-udev; &external; Нет Less &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses и Sed &runtime; Glibc и Ncurses &testsuites; Набор тестов недоступен &before; Gzip &external; PCRE2 или PCRE Libcap &dependencies; Attr, Bash, Binutils, Coreutils, GCC, Glibc, Perl, Make и Sed &runtime; Glibc &testsuites; Нет &before; IProute2 и Shadow &external; Linux-PAM Libelf &dependencies; Bash, Binutils, Bzip2, Coreutils, GCC, Glibc, Make, Xz, Zlib и Zstd &runtime; Bzip2, Glibc, Xz, Zlib и Zstd &testsuites; Нет &before; IProute2 и Linux &external; Нет Libffi &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Make и Sed &runtime; Glibc &testsuites; DejaGnu &before; Python &external; Нет Libpipeline &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed и Texinfo &runtime; Glibc &testsuites; Check и Pkgconf &before; Man-DB &external; Нет Libtool &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed и Texinfo &runtime; Autoconf, Automake, Bash, Binutils, Coreutils, File, GCC, Glibc, Grep, Make и Sed &testsuites; Autoconf, Automake и Findutils &before; Нет &external; Нет Libxcrypt &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Perl и Sed &runtime; Glibc &testsuites; Нет &before; GCC, Perl, Python, Shadow и &systemd-udev; &external; Нет Linux &dependencies; Bash, Bc, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc, Grep, Gzip, Kmod, Libelf, Make, Ncurses, OpenSSL, Perl и Sed &runtime; Нет &testsuites; Набор тестов недоступен &before; Нет &external; cpio и LLVM (с Clang) Linux API Headers &dependencies; Bash, Binutils, Coreutils, Findutils, GCC, Glibc, Grep, Gzip, Make, Perl и Sed &runtime; Нет &testsuites; Набор тестов недоступен &before; Нет &external; Нет M4 &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Sed и Texinfo &runtime; Bash и Glibc &testsuites; Diffutils &before; Autoconf и Bison &external; libsigsegv Make &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Sed, и Texinfo &runtime; Glibc &testsuites; Perl и Procps-ng &before; Нет &external; Guile Man-DB &dependencies; Bash, Binutils, Bzip2, Coreutils, Flex, GCC, GDBM, Gettext, Glibc, Grep, Groff, Gzip, Less, Libpipeline, Make, Pkgconf, Sed, Systemd, и Xz &runtime; Bash, GDBM, Groff, Glibc, Gzip, Less, Libpipeline и Zlib &testsuites; Util-linux &before; Нет &external; libseccomp и po4a Man-Pages &dependencies; Bash, Coreutils и Make &runtime; Нет &testsuites; Набор тестов недоступен &before; Нет &external; Нет MarkupSafe &dependencies; Python &runtime; Python &testsuites; Набор тестов недоступен &before; Jinja2 &external; Нет Meson &dependencies; Ninja и Python &runtime; Python &testsuites; Набор тестов недоступен &before; &systemd-udev; &external; Нет MPC &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, GMP, Make, MPFR, Sed и Texinfo &runtime; Glibc, GMP и MPFR &testsuites; Нет &before; GCC &external; Нет MPFR &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, GMP, Make, Sed и Texinfo &runtime; Glibc и GMP &testsuites; Нет &before; Gawk и GCC &external; Нет Ncurses &dependencies; Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Patch и Sed &runtime; Glibc &testsuites; Набор тестов недоступен &before; Bash, GRUB, Inetutils, Less, Procps-ng, Psmisc, Readline, Texinfo, Util-linux и Vim &external; Нет Ninja &dependencies; Binutils, Coreutils, GCC и Python &runtime; GCC и Glibc &testsuites; Нет &before; Meson &external; Asciidoc, Doxygen, Emacs и re2c OpenSSL &dependencies; Binutils, Coreutils, GCC, Make и Perl &runtime; Glibc и Perl &testsuites; Нет &before; Coreutils, Kmod, Linux и &systemd-udev; &external; Нет Patch &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make и Sed &runtime; Glibc &testsuites; Diffutils &before; Нет &external; Ed Perl &dependencies; Bash, Binutils, Coreutils, Gawk, GCC, GDBM, Glibc, Grep, Groff, Libxcrypt, Make, Sed и Zlib &runtime; GDBM, Glibc и Libxcrypt &testsuites; Iana-Etc, Less и Procps-ng &before; Autoconf &external; Berkeley DB Pkgconf &dependencies; Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, и Sed &runtime; Glibc &testsuites; Нет &before; Binutils, D-Bus, E2fsprogs, IProute2, Kmod, Man-DB, Procps-ng, Python, &systemd-udev; и Util-linux &external; Нет Procps-ng &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Make, Ncurses, и Pkgconf и Systemd &runtime; Glibc &testsuites; DejaGNU &before; Нет &external; Нет elogind Psmisc &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Ncurses и Sed &runtime; Glibc и Ncurses &testsuites; Набор тестов недоступен &before; Нет &external; Нет Python &dependencies; Bash, Binutils, Coreutils, Expat, GCC, Gdbm, Gettext, Glibc, Grep, Libffi, Libxcrypt, Make, Ncurses, OpenSSL, Pkgconf, Sed и Util-linux &runtime; Bzip2, Expat, Gdbm, Glibc, Libffi, Libxcrypt, Ncurses, OpenSSL и Zlib &testsuites; GDB и Valgrind &before; Ninja &external; Berkeley DB, libnsl, SQLite и Tk Readline &dependencies; Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, Ncurses, Patch, Sed и Texinfo &runtime; Glibc и Ncurses &testsuites; Набор тестов недоступен &before; Bash, Bc и Gawk &external; Нет Sed &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Sed, и Texinfo &runtime; Acl, Attr и Glibc &testsuites; Diffutils и Gawk &before; E2fsprogs, File, Libtool и Shadow &external; Нет Shadow &dependencies; Acl, Attr, Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC, Gettext, Glibc, Grep, Libcap, Libxcrypt, Make и Sed &runtime; Glibc и Libxcrypt &testsuites; Набор тестов недоступен &before; Coreutils &external; CrackLib и Linux-PAM Sysklogd &dependencies; Binutils, Coreutils, GCC, Glibc, Make и Patch &runtime; Glibc &testsuites; Набор тестов недоступен &before; Нет &external; Нет Systemd &dependencies; Acl, Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Gperf, Grep, Jinja2, Libcap, Libxcrypt, Meson, OpenSSL, Pkgconf, Sed, Util-linux и Zstd &runtime; Acl, Glibc, Libcap, Libxcrypt, OpenSSL, Util-linux, Xz, Zlib и Zstd &testsuites; Нет &before; D-Bus, E2fsprogs, Man-DB, Procps-ng и Util-linux &external; AppArmor, audit-userspace, bash-completion, btrfs-progs, cURL, cryptsetup, docbook-xml, docbook-xsl-nons, Git, GnuTLS, iptables, jekyll, kexec-tools, libbpf, libdw, libfido2, libgcrypt, libidn2, Libmicrohttpd, libpwquality, libseccomp, libxkbcommon, libxslt, Linux-PAM, lxml, LZ4, make-ca, p11-kit, PCRE2, Polkit, pyelftools, qemu, qrencode, quota-tools, rpm, rsync, SELinux, Sphinx, systemtap, tpm2-tss, Valgrind, Xen, and zsh Sysvinit &dependencies; Binutils, Coreutils, GCC, Glibc, Make и Sed &runtime; Glibc &testsuites; Набор тестов недоступен &before; Нет &external; Нет Tar &dependencies; Acl, Attr, Bash, Binutils, Bison, Coreutils, GCC, Gettext, Glibc, Grep, Inetutils, Make, Sed и Texinfo &runtime; Acl, Attr, Bzip2, Glibc, Gzip и Xz &testsuites; Autoconf, Diffutils, Findutils, Gawk и Gzip &before; Нет &external; Нет Tcl &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make и Sed &runtime; Glibc и Zlib &testsuites; Нет &before; Нет &external; Нет Texinfo &dependencies; Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Patch и Sed &runtime; Glibc и Ncurses &testsuites; Нет &before; Нет &external; Нет Udev &dependencies; Acl, Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Gperf, Grep, Jinja2, Libcap, Libxcrypt, Meson, OpenSSL, Pkgconf, Sed, Util-linux и Zstd &runtime; Acl, Glibc, Libcap, OpenSSL и Util-linux &testsuites; Нет &before; Util-linux &external; Нет Util-linux &dependencies; Bash, Binutils, Coreutils, Diffutils, File, Findutils, Gawk, GCC, Gettext, Glibc, Grep, Make, Ncurses, Pkgconf, Sed, &systemd-udev; и Zlib &runtime; Glibc, Ncurses, Readline, &systemd-udev; и Zlib &testsuites; Нет &before; Нет &external; Libcap-NG, libeconf, libuser, libutempter, Linux-PAM, smartmontools и slang Vim &dependencies; Acl, Attr, Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses и Sed &runtime; Acl, Attr, Glibc, Python, Ncurses и Tcl &testsuites; Нет &before; Нет &external; Xorg, GTK+2, LessTif, Ruby и GPM wheel &dependencies; Python и Flit-core &runtime; Python &testsuites; Набор тестов недоступен &before; Нет Jinja2 &external; Нет XML::Parser &dependencies; Bash, Binutils, Coreutils, Expat, GCC, Glibc, Make и Perl &runtime; Expat, Glibc и Perl &testsuites; Perl &before; Intltool &external; Нет Xz &dependencies; Bash, Binutils, Coreutils, Diffutils, GCC, Glibc и Make &runtime; Glibc &testsuites; Нет &before; File, GRUB, Kmod, Libelf, Man-DB и &systemd-udev; &external; Нет Zlib &dependencies; Bash, Binutils, Coreutils, GCC, Glibc, Make и Sed &runtime; Glibc &testsuites; Нет &before; File, Kmod, Libelf, Perl и Util-linux &external; Нет Zstd &dependencies; Binutils, Coreutils, GCC, Glibc, Gzip, Make, Xz и Zlib &runtime; Glibc &testsuites; Нет &before; Binutils, GCC, Libelf и &systemd-udev; &external; LZ4