Files
oam/knowledge base/zypper.md
2022-05-15 00:24:53 +02:00

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