How to list all installed packages coming from certain repo eg. community?

I want plain output (just a list of names) like this:


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)


cut -d' ' -f1 <(paclist community)
  • 1
    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. – Eric Smith Aug 7 '18 at 0:59
  • @EricSmith - not sure what you mean... paclist is a very real thing on my up-to-date archlinux setup... – don_crissti Aug 7 '18 at 9:45
  • 2
    Found it; the key command; pacman --files --search paclist; apparently in the pacman-contrib package which I did not have installed. – Eric Smith Aug 8 '18 at 1:48

There is no need to install pacman-contrib package to achieve that goal:

pacman -Sl reponame | grep "\[installed\]"

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.