[英]Where is “apt depends” documented?
Where is the sub command "depends" of "apt" documented, especially its output format and the meaning of the pipe symbol in the output? “apt”的子命令“depends”在哪里记录,尤其是它的 output 格式和 output 中 pipe 符号的含义?
"man apt" doesn't mention this sub command at all. “man apt”根本没有提到这个子命令。
Example invocation:示例调用:
$ apt depends inxi
inxi
Depends: pciutils
Depends: procps
Depends: <perl:any>
perl
Recommends: dmidecode
Recommends: dnsutils
bind9-dnsutils
Recommends: file
Recommends: hddtemp
|Recommends: iproute2
Recommends: net-tools
Recommends: kmod
Recommends: lm-sensors
Recommends: mesa-utils
Recommends: sudo
sudo-ldap
Recommends: tree
Recommends: usbutils
Recommends: x11-utils
Recommends: x11-xserver-utils
|Suggests: libcpanel-json-xs-perl
Suggests: libjson-xs-perl
Suggests: libxml-dumper-perl
|Suggests: wget
|Suggests: curl
Suggests: libhttp-tiny-perl
perl
It is documented on apt-cache
manpages :它记录在
apt-cache
联机帮助页中:
depends pkg...
depends shows a listing of each dependency a package has and all
the possible other packages that can fulfill that dependency.
The meaning of the pipe |
pipe的含义
|
is or , in your example:是或,在您的示例中:
|Suggests: wget
|Suggests: curl
Suggests: libhttp-tiny-perl
can be translated to:可以翻译成:
Suggests: wget or curl or libhttp-tiny-perl
And和
|Suggests: libcpanel-json-xs-perl
Suggests: libjson-xs-perl
can be translated to:可以翻译成:
Suggests: libcpanel-json-xs-perl or libjson-xs-perl
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.