Please tell me, how to let zypper display all installed packages of a certain repository.

2 Answers 2


You can easily list that using:

zypper pa -ir <repo_name_or_number>
  • Thanks! It works for me only with capital R Please correct the answer. Nov 4, 2009 at 14:01
  • The capital R is for sorting by repo. The lower case one is for the specific repo. You can check the documentation by typing: zypper pa -h
    – Mereghost
    Nov 4, 2009 at 14:11
  • Sorry, I must have typed it just the wrong way at first time. Indeed, r works. Nov 4, 2009 at 15:39
  • 4
    Doesn't work for me using zypper 1.11.22 on OpenSUSE 13.2. Better use zypper search like suggested on the other answer. Mar 16, 2015 at 11:29
  • For zypper 1.14.45 on OpenSUSE 15.2 this shows the packages already installed that could be installed from that repo, independently that they were actually installed from that repo, or from any other. zypper search -i -r answer below does indeed shows only installed packages from that repo.
    – iamc
    Jul 8, 2021 at 6:28


zypper search -i -r <repo alias|#|URI>
  • For zypper 1.14.45 on OpenSUSE 15.2 this is the correct answer.
    – iamc
    Jul 8, 2021 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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