我可以使用以下命令获取所有可用包及其详细信息的列表:
apt-cache search .它输出的包列表如下所示:
i 0ad - Real-time strategy game of ancient warfare
i 0ad-data - Real-time strategy game of ancient warfare (data files)
i 0ad-data-common - Real-time strategy game of ancient warfare (common data files)
p 0ad-dbg - Real-time strategy game of ancient warfare (debug)
p 0xffff - Open Free Fiasco Firmware Flasher
p 2ping - Ping utility to determine directional packet loss
p 2vcard - perl script to convert an addressbook to VCARD file format
p 3270-common - Common files for IBM 3270 emulators and pr3287
p 389-admin - 389 Directory Administration Server
...因此,具体来说,我可以在哪里下载Ubuntu特定版本的所有可用软件包的数据库,以及如何获得详细信息(可能包括版本、大小、长描述.)从它来说,是纯文本还是易于用脚本解析的格式?
发布于 2016-06-25 08:58:42
使用chdist。这个命令允许您像往常一样运行apt-get和apt-cache,但是对于不同版本的Ubuntu (或者Debian或者实际上任何其他Debian派生的发行版)。
它还为grep-dctrl提供了一个包装器,使您可以轻松地搜索和报告元数据字段。
https://askubuntu.com/questions/786121
复制相似问题