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
...
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)
There is no need to install pacman-contrib package to achieve that goal:
pacman -Sl reponame | grep "\[installed\]"
paclistdoes not seem to be a thing now;pacman -S --search paclistyields nothing; also, issuingpaclistat the command line is not recognized. – Eric Smith Aug 07 '18 at 00:59paclistis a very real thing on my up-to-date archlinux setup... – don_crissti Aug 07 '18 at 09:45pacman --files --search paclist; apparently in thepacman-contribpackage which I did not have installed. – Eric Smith Aug 08 '18 at 01:48