mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
34 lines
743 B
Markdown
34 lines
743 B
Markdown
# The Zypper package manager
|
|
|
|
SUSE and openSUSE GNU/Linux's package management utility.
|
|
|
|
## TL;DR
|
|
|
|
```sh
|
|
# update the repositories
|
|
zypper refresh
|
|
|
|
# search for a package
|
|
zypper search nmap
|
|
|
|
# install a package
|
|
zypper install parallel
|
|
```
|
|
|
|
## Gotchas
|
|
|
|
Zypper does not have for now a way to list the content of an installed package. Use [rpm] for this:
|
|
|
|
```sh
|
|
sudo rpm --query --list ${PACKAGE_NAME}
|
|
```
|
|
|
|
## Further readings
|
|
|
|
- [rpm]
|
|
- [How can I list all files which have been installed by an ZYpp/Zypper package?]
|
|
|
|
[rpm]: rpm.md
|
|
|
|
[how can i list all files which have been installed by an zypp/zypper package?]: https://unix.stackexchange.com/questions/162092/how-can-i-list-all-files-which-have-been-installed-by-an-zypp-zypper-package#239944
|