list repositories
zypper lr
the output will show the current repositories
to get more detailed out about repositories
zypper repos -d
to add your own or any generic repository
sudo zypper addrepo http://example.com/repo myrepo
here myrepo is the alias of this repo
now to see if this new repo is added
zypper lr
now to remove this repo
we can do this
sudo zypper removerepo 7
this number is for myrepo ,we can see this number by the command
zypper lr
to check if the new repo is removed or not
zypper lr
we could have removed the repo by using the alias in place of number
sudo zypper removerepo myrepo
zypper lr
the output will show the current repositories
to get more detailed out about repositories
zypper repos -d
to add your own or any generic repository
sudo zypper addrepo http://example.com/repo myrepo
here myrepo is the alias of this repo
now to see if this new repo is added
zypper lr
now to remove this repo
we can do this
sudo zypper removerepo 7
this number is for myrepo ,we can see this number by the command
zypper lr
to check if the new repo is removed or not
zypper lr
we could have removed the repo by using the alias in place of number
sudo zypper removerepo myrepo
No comments:
Post a Comment