构建最小根文件系统linuxfromscratch
一、Archival Utilities
8.8. Xz-5.2.5
Contents of Xz
Installed programs:
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
Installed libraries:
liblzma.so
Installed directories:
/usr/include/lzma and /usr/share/doc/xz-5.2.5
8.7. Bzip2-1.0.8
Contents of Bzip2
Installed programs:
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
Installed libraries:
libbz2.so
Installed directory:
/usr/share/doc/bzip2-1.0.8
8.60. Gzip-1.10
Contents of Gzip
Installed programs:
gunzip, gzexe, gzip, uncompress (hard link with gunzip), zcat, zcmp, zdiff, zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew
8.67. Tar-1.34
Contents of Tar
Installed programs:
tar
Installed directory:
/usr/share/doc/tar-1.34
blfs
cpio-2.13
Contents
Installed Programs:
cpio and mt
Installed Libraries:
None
Installed Directories:
/usr/share/doc/cpio-2.13
UnZip-6.0
Contents
Installed Programs:
funzip, unzip, unzipfsx, zipgrep, and zipinfo
Installed Libraries:
None
Installed Directories:
None
软件包: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
Contents of Coreutils
Installed programs:
[, 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
Installed library:
libstdbuf.so (in /usr/libexec/coreutils)
Installed directory:
/usr/libexec/coreutils
Sharutils-4.15.2
Contents
Installed Programs:
shar, unshar, uudecode and uuencode
Installed Libraries:
None
Installed Directories:
None
软件包:dos2unix(7.4.0-1)
dep: libc6 (>= 2.17) [arm64, ppc64el]
GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb
软件包:dos2unix(7.4.0-1)
dep: libc6 (>= 2.17) [arm64, ppc64el]
GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb
三、 Console Utilities
8.62. Kbd-2.4.0
Contents of Kbd
Installed programs:
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
Installed directories:
/usr/share/consolefonts, /usr/share/consoletrans, /usr/share/keymaps, /usr/share/doc/kbd-2.4.0, and /usr/share/unimaps
8.28. Ncurses-6.2
Contents of Ncurses
Installed programs:
captoinfo (link to tic), clear, infocmp, infotocap (link to tic), ncursesw6-config, reset (link to tset), tabs, tic, toe, tput, and tset
Installed libraries:
libcursesw.so (symlink and linker script to libncursesw.so), libformw.so, libmenuw.so, libncursesw.so, libpanelw.so, and their non-wide-character counterparts without “w” in the library names.
Installed directories:
/usr/share/tabset, /usr/share/terminfo, and /usr/share/doc/ncurses-6.2
四、 Editors
8.55. Gawk-5.1.0
Contents of Gawk
Installed programs:
awk (link to gawk), gawk, and awk-5.1.0
Installed libraries:
filefuncs.so, fnmatch.so, fork.so, inplace.so, intdiv.so, ordchr.so, readdir.so, readfile.so, revoutput.so, revtwoway.so, rwarray.so, and time.so (all in /usr/lib/gawk)
Installed directories:
/usr/lib/gawk, /usr/libexec/awk, /usr/share/awk, and /usr/share/doc/gawk-5.1.0
8.54. Diffutils-3.7
Contents of Diffutils
Installed programs:
cmp, diff, diff3, and sdiff
8.65. Patch-2.7.6
Contents of Patch
Installed program:
patch
8.29. Sed-4.8
Contents of Sed
Installed program:
sed
Installed directory:
/usr/share/doc/sed-4.8
8.69. Vim-8.2.2433
Contents of Vim
Installed programs:
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
Installed directory:
/usr/share/vim
Ed-1.17
Contents
Installed Programs:
ed and red
Installed Libraries:
None
Installed Directories:
None
五、 Finding Utilities
6.8. Findutils-4.8.0
Contents of Findutils
Installed programs:
find, locate, updatedb, and xargs
Installed directory:
/var/lib/locate
8.33. Grep-3.6
Contents of Grep
Installed programs:
egrep, fgrep, and grep
六、 Init Utilities
软件包:bootchart-0.9.tar.bz2
8.75. Sysvinit-2.98
Contents of Sysvinit
Installed programs:
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
Contents of Shadow
Installed programs:
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
Contents of E2fsprogs
Installed programs:
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
Installed libraries:
libcom_err.so, libe2p.so, libext2fs.so, and libss.so
Installed directories:
/usr/include/e2p, /usr/include/et, /usr/include/ext2fs, /usr/include/ss, /usr/lib/e2fsprogs, /usr/share/et, and /usr/share/ss
九、 Linux Module Utilities
8.45. Kmod-28
Contents of Kmod
Installed programs:
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)
Installed library:
libkmod.so
十、 Linux System Utilities
https://www.linuxfromscratch.org/blfs/view/stable/general/sysutils.html
十一、 Miscellaneous Utilities
8.13. Bc-3.3.0
Contents of Bc
Installed programs:
bc and dc
8.59. Less-563
Contents of Less
Installed programs:
less, lessecho, and lesskey
8.66. Man-DB-2.9.4
Contents of Man-DB
Installed programs:
accessdb, apropos (link to whatis), catman, lexgrog, man, mandb, manpath, and whatis
Installed libraries:
libman.so and libmandb.so (both in /usr/lib/man-db)
Installed directories:
/usr/lib/man-db, /usr/libexec/man-db, and /usr/share/doc/man-db-2.9.4
8.22. Attr-2.4.48
Contents of Attr
Installed programs:
attr, getfattr, and setfattr
Installed library:
libattr.so
Installed directories:
/usr/include/attr and /usr/share/doc/attr-2.4.48
Fcron-3.2.1
Contents
Installed Programs:
fcron, fcrondyn, fcronsighup, and fcrontab
Installed Libraries:
None
Installed Directories:
/usr/share/doc/fcron-3.2.1 and /var/spool/fcron
Hdparm-9.60
Contents
Installed Program:
hdparm
Installed Libraries:
None
Installed Directories:
None
parted-3.4
Contents
Installed Programs:
parted and partprobe
Installed Libraries:
libparted.so and libparted-fs-resize.so
Installed Directories:
/usr/include/parted and /usr/share/doc/parted-3.4
Time-1.9
Contents
Installed Program:
time
Installed Library:
None
Installed Directory:
None
软件包:adjtimex(1.29-10)
adjtimex 软件包文件清单
/etc/init.d/adjtimex
/lib/systemd/system/adjtimex.service
/sbin/adjtimex
/usr/sbin/adjtimexconfig
软件包:beep(1.4.3-2)
beep 软件包文件清单
/lib/udev/rules.d/70-pcspkr-beep.rules
/usr/bin/beep
源码包:conspy(1.14-1)
conspy 软件包文件清单
/usr/bin/conspy
软件包: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
软件包:hibernate(2.0+15+g88d54a8-1)
hibernate 软件包文件清单
/etc/hibernate/blacklisted-modules
/etc/hibernate/common.conf
/etc/hibernate/disk.conf
/etc/hibernate/hibernate.conf
/etc/hibernate/ram.conf
/etc/hibernate/sysfs-disk.conf
/etc/hibernate/sysfs-ram.conf
/etc/hibernate/tuxonice.conf
/etc/hibernate/ususpend-both.conf
/etc/hibernate/ususpend-disk.conf
/etc/hibernate/ususpend-ram.conf
/etc/logrotate.d/hibernate
/usr/sbin/hibernate
/usr/sbin/hibernate-disk
/usr/sbin/hibernate-ram
软件包:lsscsi(0.30-0.1)
lsscsi 软件包文件清单
/usr/bin/lsscsi
软件包:makedev(2.3.1-94)
makedev 软件包文件清单
/sbin/MAKEDEV
软件包:eject(2.1.5+deb1+cvs20081104-13.2)
在 Linux 中弹出 CD 和操作 CD 切换器
eject 软件包文件清单
/usr/bin/eject
/usr/bin/volname
/usr/lib/eject/dmcrypt-get-device
软件包:watchdog(5.15-2)
watchdog 软件包文件清单
/etc/init.d/watchdog
/etc/init.d/wd_keepalive
/etc/watchdog.conf
/lib/systemd/system/watchdog.service
/lib/systemd/system/wd_keepalive.service
/usr/sbin/watchdog
/usr/sbin/wd_identify
/usr/sbin/wd_keepalive
十二、 Networking Utilities
8.61. IPRoute2-5.10.0
Contents of IPRoute2
Installed programs:
bridge, ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat, nstat, routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss, and tc
Installed directories:
/etc/iproute2, /usr/lib/tc, and /usr/share/doc/iproute2-5.10.0
8.39. Inetutils-2.0
Contents of Inetutils
Installed programs:
dnsdomainname, ftp, ifconfig, hostname, ping, ping6, talk, telnet, tftp, and traceroute
bridge-utils-1.6
Contents
Installed Program:
brctl
Installed Libraries:
None
Installed Directories:
None
Traceroute-2.1.0
Contents
Installed Program:
traceroute and traceroute6 (symlink)
Net-tools-CVS_20101030
Contents
Installed Programs:
arp, ipmaddr, iptunnel, mii-tool, nameif, netstat, plipconfig, rarp, route, and slattach
软件包:ifenslave(2.9)
fenslave 软件包文件清单
/etc/network/if-post-down.d/ifenslave
/etc/network/if-pre-up.d/ifenslave
/etc/network/if-up.d/ifenslave
/sbin/ifenslave
/sbin/ifenslave-2.6
软件包:ifplugd(0.28-19.4)
fplugd 软件包文件清单
/etc/apm/scripts.d/ifplugd
/etc/ifplugd/action.d/ifupdown
/etc/ifplugd/ifplugd.action
/etc/init.d/ifplugd
/etc/pm/sleep.d/74ifplugd
/lib/udev/ifplugd.agent
/lib/udev/rules.d/60-ifplugd.rules
/usr/sbin/ifplugd
/usr/sbin/ifplugstatus
/usr/sbin/ifstatus
软件包:ifupdown(0.8.35)
这个包提供 ifup 和 ifdown,它们可以用来根据 /etc/network/interfaces 文件 中的接口定义配置和取消配置网络接口
ifupdown 软件包文件清单
/etc/default/networking
/etc/init.d/networking
/lib/ifupdown/settle-dad.sh
/lib/ifupdown/wait-for-ll6.sh
/lib/ifupdown/wait-online.sh
/lib/systemd/system/ifup@.service
/lib/systemd/system/ifupdown-pre.service
/lib/systemd/system/ifupdown-wait-online.service
/lib/systemd/system/networking.service
/lib/udev/ifupdown-hotplug
/lib/udev/rules.d/80-ifupdown.rules
/sbin/ifdown
/sbin/ifquery
/sbin/ifup
软件包:net-tools(1.60+git20180626.aebd88e-1)
net-tools 软件包文件清单
/bin/netstat
/sbin/ifconfig
/sbin/ipmaddr
/sbin/iptunnel
/sbin/mii-tool
/sbin/nameif
/sbin/plipconfig
/sbin/rarp
/sbin/route
/sbin/slattach
/usr/sbin/arp
gnu-netcat 0.7.1-8
Package Contents
usr/
usr/bin/
usr/bin/nc
usr/bin/netcat
BIND-9.16.11
Contents
Installed Programs:
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)
Installed Libraries:
libbind9.so, libdns.so, libirs.so, libisc.so, libisccc.so, libisccfg.so, and libns.so
Installed Directories:
/usr/include/{bind9,dns,dst,irs,isc,isccc,isccfg,ns,pk11,pkcs11}, /usr/lib/named, /usr/lib/python3.9/site-packages/isc, and /srv/named
软件包: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
软件包:pscan(1.2-9 以及其他的)
pscan 软件包文件清单
/usr/bin/pscan
软件包:ipsvd(1.0.0-3.1)
psvd 软件包文件清单
/usr/bin/ipsvd-cdb
/usr/bin/tcpsvd
/usr/bin/udpsvd
软件包:uml-utilities(20070815.2-1)
uml-utilities 软件包文件清单
/etc/default/uml-utilities
/etc/init.d/uml-utilities
/etc/network/if-pre-up.d/uml-utilities
/etc/network/if-up.d/uml-utilities
/usr/bin/humfsify
/usr/bin/jailtest
/usr/bin/tunctl
/usr/bin/uml_mconsole
/usr/bin/uml_mkcow
/usr/bin/uml_moo
/usr/bin/uml_mount
/usr/bin/uml_net
/usr/bin/uml_switch
/usr/bin/uml_watchdog
/usr/lib64/uml/port-helper
Wget-1.21.1
Contents
Installed Program:
wget
Whois-5.4.3
Contents
Installed Programs:
whois and mkpasswd
dhcpcd-9.4.0
Contents
Installed Program:
dhcpcd
Installed Library:
/lib/dhcpcd/dev/udev.so
Installed Directory:
/{,var/}lib/dhcpcd and /usr/share/dhcpcd
十三、 Process Utilities
8.71. Procps-ng-3.3.17
Contents of Procps-ng
Installed programs:
free, pgrep, pidof, pkill, pmap, ps, pwdx, slabtop, sysctl, tload, top, uptime, vmstat, w, and watch
Installed library:
libprocps.so
Installed directories:
/usr/include/proc and /usr/share/doc/procps-ng-3.3.17
8.30. Psmisc-23.4
Contents of Psmisc
Installed programs:
fuser, killall, peekfd, prtstat, pslog, pstree, and pstree.x11 (link to pstree)
Sysstat-12.5.3
Contents
Installed Programs:
cifsiostat, iostat, mpstat, pidstat, sadf, sar, and tapestat
Installed Libraries:
None
Installed Directories:
/usr/lib/sa, /usr/share/doc/sysstat-12.5.3 and /var/log/sa
lsof-4.91
Contents
Installed Program:
lsof
软件包:powertop(2.8-1 以及其他的)
powertop 软件包文件清单
/usr/sbin/powertop
软件包:smemcap(1.4-2 以及其他的)
smemcap 软件包文件清单
/usr/bin/smemcap
十四、 Runit Utilities
软件包:runit(2.1.2-25)
unit 软件包文件清单
/etc/runit/1
/etc/runit/2
/etc/runit/3
/etc/service
/lib/runit/invoke-run
/sbin/update-service
/usr/bin/chpst
/usr/bin/runsv
/usr/bin/runsvdir
/usr/bin/sv
/usr/bin/svlogd
/usr/sbin/mk-runscript
/usr/sbin/runsvchdir
/usr/sbin/utmpset
软件包:daemontools(1:0.76-7)
daemontools 软件包文件清单
/usr/bin/envdir
/usr/bin/envuidgid
/usr/bin/fghack
/usr/bin/multilog
/usr/bin/pgrphack
/usr/bin/readproctitle
/usr/bin/setlock
/usr/bin/setuidgid
/usr/bin/softlimit
/usr/bin/supervise
/usr/bin/svc
/usr/bin/svok
/usr/bin/svscan
/usr/bin/svscanboot
/usr/bin/svstat
/usr/bin/tai64n
/usr/bin/tai64nlocal
十五、 Shells
8.34. Bash-5.1
Contents of Bash
Installed programs:
bash, bashbug, and sh (link to bash)
Installed directory:
/usr/include/bash, /usr/lib/bash, and /usr/share/doc/bash-5.1
Dash-0.5.11.3
Contents
Installed Program:
dash
软件包:ash(0.5.10.2-5)
ash 软件包文件清单
/bin/ash
软件包:shush(1.2.3-5 以及其他的)
hush 软件包文件清单
/usr/bin/shush