我可以使用以下命令获取所有可用软件包及其详细信息的列表:
这将输出一个类似于以下内容的包列表:
如何获取我未安装的Ubuntu版本的软件包列表?
具体来说,我应该在哪里下载特定版本Ubuntu的所有可用软件包的数据库,并如何以纯文本或易于脚本解析的格式获取其详细信息(可能包括版本、大小、长描述等)?
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版本的软件包列表?
具体来说,我应该在哪里下载特定版本Ubuntu的所有可用软件包的数据库,并如何以纯文本或易于脚本解析的格式获取其详细信息(可能包括版本、大小、长描述等)?
apt-cache search .
或者apt-cache search ''
的输出有23xx行,实际上是所有可能的软件包的总数,包括不同的桌面环境版本。 - Videonauth