OldSchool
OldSchool

Reputation: 2183

How to list the package repository URL in SUSE?

I tried zypper repos but it does not list the URL of the repository. I need this URL as I need the same package repository in another machine and this package repository is private to our organization. Is there a way I can get the URL?

Upvotes: 4

Views: 10538

Answers (2)

Thais Marinho
Thais Marinho

Reputation: 231

As a complement to the previous answer:

zypper lr -u | grep <target repository>

It would display only the output for the repository that you are looking for.

Upvotes: 1

dresselhaus
dresselhaus

Reputation: 164

I suppose you can use

zypper repos -u

or

zypper lr -u

which will also give you the URI for the repository.

Upvotes: 12

Related Questions