首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何获得Ubuntu的特定版本(不一定是我安装的那个)的所有软件包的列表?

如何获得Ubuntu的特定版本(不一定是我安装的那个)的所有软件包的列表?
EN

Ask Ubuntu用户
提问于 2016-06-12 16:26:49
回答 1查看 7K关注 0票数 7

我可以使用以下命令获取所有可用包及其详细信息的列表:

代码语言:javascript
复制
apt-cache search .

它输出的包列表如下所示:

代码语言:javascript
复制
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特定版本的所有可用软件包的数据库,以及如何获得详细信息(可能包括版本、大小、长描述.)从它来说,是纯文本还是易于用脚本解析的格式?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2016-06-25 08:58:42

使用chdist。这个命令允许您像往常一样运行apt-getapt-cache,但是对于不同版本的Ubuntu (或者Debian或者实际上任何其他Debian派生的发行版)。

它还为grep-dctrl提供了一个包装器,使您可以轻松地搜索和报告元数据字段。

票数 4
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/786121

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档