You are not logged in.

#1 2019-06-07 08:48:47

KidKurtis
Member
Registered: 2019-06-07
Posts: 2

List installed packages/dependencies by categories?

Hi linux newb here is there a way to filter/list the installed packes on my system by categories? Something similar to pacman -Q that lists based on package type maybe? If not what are some better ways to manage and view installed packages?

Thanks

Offline

#2 2019-06-07 09:12:09

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: List installed packages/dependencies by categories?

do you mean package groups (like base, gnome, xorg, ...) or being 'library or application' or by usage (e.g. Browser, Utility, File Manager, Photo Viewer, ...)?

Offline

#3 2019-06-07 09:20:13

KidKurtis
Member
Registered: 2019-06-07
Posts: 2

Re: List installed packages/dependencies by categories?

mmdamin wrote:

do you mean package groups (like base, gnome, xorg, ...) or being 'library or application' or by usage (e.g. Browser, Utility, File Manager, Photo Viewer, ...)?

Either of the latter 2 would be fine, however ideally something that would list and group all installed packages, not just applications

Offline

#4 2019-06-07 11:15:55

xerxes_
Member
Registered: 2018-04-29
Posts: 1,076

Re: List installed packages/dependencies by categories?

Try these:

pacman -Sg
pacman -Sg group_name
pacman -Sl
pacman -Sl core
pacman -Ss browser | less

Option:
-Sg -display groups
-Sl -display repo type: core, community, extra, multilib, testing (if type of repo is enabled in /etc/pacman.conf so pacman db is updated with list of repo)
-Ss -search for string you would be interested. I personally pipe it to less, so I can easier search by pressing /serached_string (or //serached_string) and pressing n or N.

Hope I helped.

Offline

#5 2019-06-07 12:07:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,530
Website

Re: List installed packages/dependencies by categories?

KidKurtis wrote:

Either of the latter 2 would be fine, however ideally something that would list and group all installed packages, not just applications

Group by what?  And what is an "application"?  Whatever it is, there is no distinction between "application" packages and other packages.

I'm wondering if this could be an X-Y problem.  What purpose would this grouping serve?  Or in other words, what do you hope to accomplish with this grouped listing?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB