Is there an apt, apt-get or dpkg command or option that will enable me to list the installed packages into the main, restricted, universe and multiverse repositories they were installed from separately?

If not is there another way to list packages separately according to repositories?


1 Answer 1


You can do the latter with aptitude - for example

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.