分别列出受限制的多版本软件


11

是否有apt,apt-get或dpkg命令或选项使我能够将已安装的软件包列出到分别从其安装的主,受限,Universe和Multiverse存储库中?

是否没有另一种方法可以根据存储库单独列出软件包?


1
你考虑了apt list | grep吗?
FedonKadifeli

1
几年前,我在Unix和Linux上问了一个类似的问题,您可能也对此感兴趣。如何在Debian中列出已安装的软件包以及源URI,发行版和部分?
的CVn

Answers:


10

您可以使用aptitude-例如

aptitude search '?narrow(?installed, ?section(universe))'

要么

aptitude search '?narrow(?installed, ?section(universe/math))'

例如

$ aptitude search '?narrow(?installed, ?section(multiverse))'
i   ttf-mscorefonts-installer                                               - Installer for Microsoft TrueType core fonts                                      
i   ubuntu-restricted-addons                                                - Commonly used restricted packages for Ubuntu
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.