我想安装 ubuntu-minimal。我看不到 coreutils 作为依赖项,尽管 ubuntu-minimal 仍然依赖许多其他软件包。我是否必须单独安装它,或者它是 ubuntu-minimal 中这些其他软件包之一的依赖项?如果是,哪一个?
答案1
标记coreutils
为Essential: yes
,因此它始终包含在安装中,dpkg
如果您尝试删除它,它将以不可忽略的方式向您发出警告。软件包不必声明对基本软件包的依赖关系,除非它们需要特定版本(例如, Ubuntu 10.04 中的dpkg
(另一个基本软件包)依赖于coreutils (>= 5.93-1)
)。
答案2
它是内核和 dpkg 的依赖项,所以我相当确定它会在 ubuntu-minimal 上。
要查看基本包,请运行以下命令:
aptitude search '~E'
你会看到类似这样的内容:
i A apt - Advanced front-end for dpkg
i base-files - Debian base system miscellaneous files
i base-passwd - Debian base system master password and group files
i bash - The GNU Bourne Again SHell
i bsdutils - Basic utilities from 4.4BSD-Lite
i coreutils - GNU core utilities
i dash - POSIX-compliant shell
i debianutils - Miscellaneous utilities specific to Debian
i A diffutils - File comparison utilities
i dpkg - Debian package management system
i e2fsprogs - ext2/ext3/ext4 file system utilities
i findutils - utilities for finding files--find, xargs
i grep - GNU grep, egrep and fgrep
i gzip - GNU compression utilities
i hostname - utility to set/show the host name or domain name
i login - system login tools
i mount - Tools for mounting and manipulating filesystems
i ncurses-base - basic terminal type definitions
i ncurses-bin - terminal-related programs and man pages
i perl-base - minimal Perl system
i python-minimal - minimal subset of the Python language (default version)
i sed - The GNU sed stream editor
i tar - GNU version of the tar archiving utility
i util-linux - Miscellaneous system utilities