Zypper: How do I display all packages from a certain repository?

22

4

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

java.is.for.desktop

Posted 2009-11-04T12:59:09.960

Reputation: 1 458

Answers

18

You can easily list that using:

zypper pa -ir <repo_name_or_number>

Mereghost

Posted 2009-11-04T12:59:09.960

Reputation: 592

2Doesn't work for me using zypper 1.11.22 on OpenSUSE 13.2. Better use zypper search like suggested on the other answer. – Rémi Benoit – 2015-03-16T11:29:23.070

Thanks! It works for me only with capital R Please correct the answer. – java.is.for.desktop – 2009-11-04T14:01:08.640

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  – 2009-11-04T14:11:17.033

Sorry, I must have typed it just the wrong way at first time. Indeed, r works. – java.is.for.desktop – 2009-11-04T15:39:54.313

12

Alternative:

zypper search -i -r <repo alias|#|URI>

jaltek

Posted 2009-11-04T12:59:09.960

Reputation: 393