构建最小根文件系统linuxfromscratch
Cross-Toolchain
5.2. Binutils-2.36.1 - Pass 1
addr2line, ar, as, c++filt, dwp, elfedit, gprof, ld, ld.bfd, ld.gold, nm, objcopy, objdump, ranlib, readelf, size, strings, and strip
5.3. GCC-10.2.0 - Pass 1
c++, cc (link to gcc), cpp, g++, gcc, gcc-ar, gcc-nm, gcc-ranlib, gcov, gcov-dump, and gcov-tool
5.4. Linux-5.10.17 API Headers
5.5. Glibc-2.33
catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig, ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd, pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace, zdump, and zic
5.6. Libstdc++ from GCC-10.2.0, Pass 1
Temporary Tools
6.2. M4-1.4.18
m4
6.3. Ncurses-6.2
captoinfo (link to tic), clear, infocmp, infotocap (link to tic), ncursesw6-config, reset (link to tset), tabs, tic, toe, tput, and tset
6.4. Bash-5.1
bash, bashbug, and sh (link to bash)
6.5. Coreutils-8.32
[, b2sum, base32, base64, basename, basenc, cat, chcon, chgrp, chmod, chown, chroot, cksum, comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du, echo, env, expand, expr, factor, false, fmt, fold, groups, head, hostid, id, install, join, link, ln, logname, ls, md5sum, mkdir, mkfifo, mknod, mktemp, mv, nice, nl, nohup, nproc, numfmt, od, paste, pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink, realpath, rm, rmdir, runcon, seq, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, shred, shuf, sleep, sort, split, stat, stdbuf, stty, sum, sync, tac, tail, tee, test, timeout, touch, tr, true, truncate, tsort, tty, uname, unexpand, uniq, unlink, users, vdir, wc, who, whoami, and yes
6.6. Diffutils-3.7
cmp, diff, diff3, and sdiff
6.7. File-5.39
file
6.8. Findutils-4.8.0
find, locate, updatedb, and xargs
6.9. Gawk-5.1.0
awk (link to gawk), gawk, and awk-5.1.0
6.10. Grep-3.6
egrep, fgrep, and grep
6.11. Gzip-1.10
gunzip, gzexe, gzip, uncompress (hard link with gunzip), zcat, zcmp, zdiff, zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew
6.12. Make-4.3
make
6.13. Patch-2.7.6
patch
6.14. Sed-4.8
sed
6.15. Tar-1.34
tar
6.16. Xz-5.2.5
lzcat (link to xz), lzcmp (link to xzdiff), lzdiff (link to xzdiff), lzegrep (link to xzgrep), lzfgrep (link to xzgrep), lzgrep (link to xzgrep), lzless (link to xzless), lzma (link to xz), lzmadec, lzmainfo, lzmore (link to xzmore), unlzma (link to xz), unxz (link to xz), xz, xzcat (link to xz), xzcmp (link to xzdiff), xzdec, xzdiff, xzegrep (link to xzgrep), xzfgrep (link to xzgrep), xzgrep, xzless, and xzmore
6.17. Binutils-2.36.1 - Pass 2
addr2line, ar, as, c++filt, dwp, elfedit, gprof, ld, ld.bfd, ld.gold, nm, objcopy, objdump, ranlib, readelf, size, strings, and strip
6.18. GCC-10.2.0 - Pass 2
c++, cc (link to gcc), cpp, g++, gcc, gcc-ar, gcc-nm, gcc-ranlib, gcov, gcov-dump, and gcov-tool
Additional Temporary Tools
7.7. Libstdc++ from GCC-10.2.0, Pass 2
7.8. Gettext-0.21
autopoint, envsubst, gettext, gettext.sh, gettextize, msgattrib, msgcat, msgcmp, msgcomm, msgconv, msgen, msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq, ngettext, recode-sr-latin, and xgettext
7.9. Bison-3.7.5
bison and yacc
7.10. Perl-5.32.1
corelist, cpan, enc2xs, encguess, h2ph, h2xs, instmodsh, json_pp, libnetcfg, perl, perl5.32.1 (hard link to perl), perlbug, perldoc, perlivp, perlthanks (hard link to perlbug), piconv, pl2pm, pod2html, pod2man, pod2text, pod2usage, podchecker, podselect, prove, ptar, ptardiff, ptargrep, shasum, splain, xsubpp, and zipdetails
7.11. Python-3.9.2
2to3, idle3, pip3, pydoc3, python3, and python3-config
7.12. Texinfo-6.7
info, install-info, makeinfo (link to texi2any), pdftexi2dvi, pod2texi, texi2any, texi2dvi, texi2pdf, and texindex
7.13. Util-linux-2.36.2
addpart, agetty, blkdiscard, blkid, blkzone, blockdev, cal, cfdisk, chcpu, chmem, choom, chrt, col, colcrt, colrm, column, ctrlaltdel, delpart, dmesg, eject, fallocate, fdformat, fdisk, fincore, findfs, findmnt, flock, fsck, fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock, i386, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link to last), ldattach, linux32, linux64, logger, look, losetup, lsblk, lscpu, lsipc, lslocks, lslogins, lsmem, lsns, mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more, mount, mountpoint, namei, nsenter, partx, pivot_root, prlimit, raw, readprofile, rename, renice, resizepart, rev, rfkill, rtcwake, script, scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel, swapoff (link to swapon), swapon, switch_root, taskset, ul, umount, uname26, unshare, utmpdump, uuidd, uuidgen, uuidparse, wall, wdctl, whereis, wipefs, x86_64, and zramctl
Archival Utilities
8.8. Xz-5.2.5
lzcat (link to xz), lzcmp (link to xzdiff), lzdiff (link to xzdiff), lzegrep (link to xzgrep), lzfgrep (link to xzgrep), lzgrep (link to xzgrep), lzless (link to xzless), lzma (link to xz), lzmadec, lzmainfo, lzmore (link to xzmore), unlzma (link to xz), unxz (link to xz), xz, xzcat (link to xz), xzcmp (link to xzdiff), xzdec, xzdiff, xzegrep (link to xzgrep), xzfgrep (link to xzgrep), xzgrep, xzless, and xzmore
8.7. Bzip2-1.0.8
bunzip2 (link to bzip2), bzcat (link to bzip2), bzcmp (link to bzdiff), bzdiff, bzegrep (link to bzgrep), bzfgrep (link to bzgrep), bzgrep, bzip2, bzip2recover, bzless (link to bzmore), and bzmore
8.60. Gzip-1.10
gunzip, gzexe, gzip, uncompress (hard link with gunzip), zcat, zcmp, zdiff, zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew
8.67. Tar-1.34
tar
软件包:dpkg(1.19.7)
dep: libbz2-1.0
高品质块排序文件压缩程序库 - 运行时库
dep: libc6 (>= 2.15) [amd64, mips64el, s390x]
GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb
dep: libc6 (>= 2.17) [arm64, ppc64el]
dep: libc6 (>= 2.28) [armel, armhf, i386, mips, mipsel]
dep: liblzma5 (>= 5.2.2)
XZ 格式压缩库
dep: libselinux1 (>= 2.3)
SELinux 运行环境共享库
dep: zlib1g (>= 1:1.1.4)
压缩库 - 运行时
dep: tar (>= 1.28-1)
GNU 版本的 tar 归档工具
软件包:rpm(4.14.2.1+dfsg1-1)
dep: debugedit (= 4.14.2.1+dfsg1-1)
tool to mangle source locations in .debug files
dep: libc6 (>= 2.17)
GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb
dep: libelf1 (>= 0.131)
library to read and write ELF files
dep: libpopt0 (>= 1.14)
解析命令行参数的库
dep: librpm8 (>= 4.14.2+dfsg1)
RPM shared library
dep: librpmbuild8 (>= 4.14.0+dfsg1)
RPM build shared library
dep: librpmio8 (>= 4.14.0+dfsg1)
RPM IO shared library
dep: librpmsign8 (>= 4.14.0+dfsg1)
RPM signing shared library
dep: perl
拉里 沃尔的实用报表提取语言(Perl)
dep: rpm-common (= 4.14.2.1+dfsg1-1)
common files for RPM
dep: rpm2cpio
tool to convert RPM package to CPIO archive
软件包:rpm2cpio(4.14.2.1+dfsg1-1)
dep: libarchive13 (>= 3.0.4)
Multi-format archive and compression library (shared library)
dep: libc6 (>= 2.17) [arm64, ppc64el]
GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb
dep: libc6 (>= 2.4) [除 arm64, ppc64el]
dep: librpm8 (>= 4.14.0+dfsg1)
RPM shared library
dep: librpmio8 (>= 4.14.0+dfsg1)
RPM IO shared library
dep: rpm-common (= 4.14.2.1+dfsg1-1)
common files for RPM
软件包:rpm-common(4.14.2.1+dfsg1-1)
dep: libc6 (>= 2.17) [arm64, ppc64el]
GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb
dep: libc6 (>= 2.4) [除 arm64, ppc64el]
dep: libdbus-1-3 (>= 1.9.14)
simple interprocess messaging system (library)
dep: librpm8 (>= 4.14.0+dfsg1)
RPM shared library
dep: librpmio8 (>= 4.14.0+dfsg1)
RPM IO shared library
dep: libselinux1 (>= 2.3)
SELinux 运行环境共享库
Coreutils
8.52. Coreutils-8.32
[, b2sum, base32, base64, basename, basenc, cat, chcon, chgrp, chmod, chown, chroot, cksum, comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du, echo, env, expand, expr, factor, false, fmt, fold, groups, head, hostid, id, install, join, link, ln, logname, ls, md5sum, mkdir, mkfifo, mknod, mktemp, mv, nice, nl, nohup, nproc, numfmt, od, paste, pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink, realpath, rm, rmdir, runcon, seq, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, shred, shuf, sleep, sort, split, stat, stdbuf, stty, sum, sync, tac, tail, tee, test, timeout, touch, tr, true, truncate, tsort, tty, uname, unexpand, uniq, unlink, users, vdir, wc, who, whoami, and yes
Console Utilities
8.62. Kbd-2.4.0
chvt, deallocvt, dumpkeys, fgconsole, getkeycodes, kbdinfo, kbd_mode, kbdrate, loadkeys, loadunimap, mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to psfxtable), psfstriptable (link to psfxtable), psfxtable, setfont, setkeycodes, setleds, setmetamode, setvtrgb, showconsolefont, showkey, unicode_start, and unicode_stop
8.28. Ncurses-6.2
captoinfo (link to tic), clear, infocmp, infotocap (link to tic), ncursesw6-config, reset (link to tset), tabs, tic, toe, tput, and tset
Editors
8.55. Gawk-5.1.0
awk (link to gawk), gawk, and awk-5.1.0
8.54. Diffutils-3.7
cmp, diff, diff3, and sdiff
8.65. Patch-2.7.6
patch
8.29. Sed-4.8
sed
8.69. Vim-8.2.2433
ex (link to vim), rview (link to vim), rvim (link to vim), vi (link to vim), view (link to vim), vim, vimdiff (link to vim), vimtutor, and xxd
Ed-1.17
ed and red
Finding Utilities
6.8. Findutils-4.8.0
find, locate, updatedb, and xargs
8.33. Grep-3.6
egrep, fgrep, and grep
Init Utilities
8.75. Sysvinit-2.98
bootlogd, fstab-decode, halt, init, killall5, poweroff (link to halt), reboot (link to halt), runlevel, shutdown, and telinit (link to init)
Login/Password Management Utilities
8.25. Shadow-4.8.1
chage, chfn, chgpasswd, chpasswd, chsh, expiry, faillog, gpasswd, groupadd, groupdel, groupmems, groupmod, grpck, grpconv, grpunconv, lastlog, login, logoutd, newgidmap, newgrp, newuidmap, newusers, nologin, passwd, pwck, pwconv, pwunconv, sg (link to newgrp), su, useradd, userdel, usermod, vigr (link to vipw), and vipw
Installed directory:
/etc/default
Linux Ext2 FS Progs
8.73. E2fsprogs-1.46.1
badblocks, chattr, compile_et, debugfs, dumpe2fs, e2freefrag, e2fsck, e2image, e2label, e2mmpstatus, e2scrub, e2scrub_all, e2undo, e4crypt, e4defrag, filefrag, fsck.ext2, fsck.ext3, fsck.ext4, logsave, lsattr, mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3, mkfs.ext4, mklost+found, resize2fs, and tune2fs
Linux Module Utilities
8.45. Kmod-28
depmod (link to kmod), insmod (link to kmod), kmod, lsmod (link to kmod), modinfo (link to kmod), modprobe (link to kmod), and rmmod (link to kmod)
Linux System Utilities
cpio-2.13
cpio and mt
pciutils-3.7.0
lspci, setpci, and update-pciids
Which-2.21 and Alternatives
which
Miscellaneous Utilities
8.13. Bc-3.3.0
bc and dc
8.59. Less-563
less, lessecho, and lesskey
8.66. Man-DB-2.9.4
accessdb, apropos (link to whatis), catman, lexgrog, man, mandb, manpath, and whatis
8.22. Attr-2.4.48
attr, getfattr, and setfattr
parted-3.4
parted and partprobe
Time-1.9
time
软件包:cron(3.0pl1-134+deb10u1)
ron 软件包文件清单
/etc/cron.d/.placeholder
/etc/cron.daily/.placeholder
/etc/cron.hourly/.placeholder
/etc/cron.monthly/.placeholder
/etc/cron.weekly/.placeholder
/etc/crontab
/etc/default/cron
/etc/init.d/cron
/etc/pam.d/cron
/lib/systemd/system/cron.service
/usr/bin/crontab
/usr/sbin/cron
Networking Utilities
8.61. IPRoute2-5.10.0
bridge, ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat, nstat, routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss, and tc
8.39. Inetutils-2.0
dnsdomainname, ftp, ifconfig, hostname, ping, ping6, talk, telnet, tftp, and traceroute
bridge-utils-1.6
brctl
Traceroute-2.1.0
traceroute and traceroute6 (symlink)
Net-tools-CVS_20101030
arp, ipmaddr, iptunnel, mii-tool, nameif, netstat, plipconfig, rarp, route, and slattach
BIND-9.16.11
arpaname, ddns-confgen, delv, dig, dnssec-cds, dnssec-checkds, dnssec-coverage, dnssec-dsfromkey, dnssec-importkey, dnssec-keyfromlabel, dnssec-keygen, dnssec-keymgr, dnssec-revoke, dnssec-settime, dnssec-signzone, dnssec-verify, host, mdig, named, named-checkconf, named-checkzone, named-compilezone (symlink), named-journalprint, named-nzd2nzf, named-rrchecker, nsec3hash, nslookup, nsupdate, rndc, rndc-confgen, and tsig-keygen (symlink)
软件包:openntpd(1:6.2p3-4)
openntpd 软件包文件清单
/etc/apparmor.d/usr.sbin.ntpd
/etc/default/openntpd
/etc/init.d/openntpd
/etc/network/if-up.d/openntpd
/etc/openntpd/ntpd.conf
/lib/systemd/system/openntpd.service
/usr/sbin/ntpctl
/usr/sbin/ntpd
/usr/sbin/openntpd
Wget-1.21.1
wget
Whois-5.4.3
whois and mkpasswd
dhcpcd-9.4.0
dhcpcd
Print Utilities
Cups-2.3.3
cancel, cupsaccept, cups-config, cupsctl, cupsd, cupsdisable, cupsenable, cupsfilter, cupsreject, cupstestppd, ippeveprinter, ippfind, ipptool, lp, lpadmin, lpc, lpinfo, lpmove, lpoptions, lpq, lpr, lprm, lpstat, ppdc, ppdhtml, ppdi, ppdmerge, and ppdpo
Process Utilities
8.71. Procps-ng-3.3.17
free, pgrep, pidof, pkill, pmap, ps, pwdx, slabtop, sysctl, tload, top, uptime, vmstat, w, and watch
8.30. Psmisc-23.4
fuser, killall, peekfd, prtstat, pslog, pstree, and pstree.x11 (link to pstree)
Sysstat-12.5.3
cifsiostat, iostat, mpstat, pidstat, sadf, sar, and tapestat
Runit Utilities
Shells
8.34. Bash-5.1
bash, bashbug, and sh (link to bash)
Dash-0.5.11.3
dash
其它
8.19. GMP-6.2.1
8.20. MPFR-4.1.0
8.21. MPC-1.2.1
8.27. Pkg-config-0.29.2
8.70. Eudev-3.2.10