Please tell me, how to let zypper display all installed packages of a certain repository.
2 Answers
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 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 -
4Doesn'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.– iamcJul 8, 2021 at 6:28
Alternative:
zypper search -i -r <repo alias|#|URI>