How to list all installed packages coming from certain repo
eg. community
?
I want plain output (just a list of names) like this:
zynaddsubfx
xsel
...
Try with paclist
:
paclist - List all packages installed from a given repo
e.g. to list all packages installed from community
:
paclist community
If you want only the names (w/o version number) you could use something like:
awk '{print $1}' <(paclist community)
or
cut -d' ' -f1 <(paclist community)
paclist
does not seem to be a thing now; pacman -S --search paclist
yields nothing; also, issuing paclist
at the command line is not recognized.
Commented
Aug 7, 2018 at 0:59
paclist
is a very real thing on my up-to-date archlinux setup...
Commented
Aug 7, 2018 at 9:45
pacman --files --search paclist
; apparently in the pacman-contrib
package which I did not have installed.
Commented
Aug 8, 2018 at 1:48
There is no need to install pacman-contrib
package to achieve that goal:
pacman -Sl reponame | grep "\[installed\]"