Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
...
share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

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)
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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