mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Flattened the structure of the knowledge base
This commit is contained in:
36
knowledge base/zypper.md
Normal file
36
knowledge base/zypper.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# The Zypper package manager
|
||||
|
||||
SUSE and openSUSE GNU/Linux's package management utility.
|
||||
|
||||
## TL;DR
|
||||
|
||||
```shell
|
||||
# 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:
|
||||
|
||||
```shell
|
||||
sudo rpm --query --list ${PACKAGE_NAME}
|
||||
```
|
||||
|
||||
## Further readings
|
||||
|
||||
- [rpm]
|
||||
|
||||
[rpm]: rpm.md
|
||||
|
||||
## Sources
|
||||
|
||||
- [How can I list all files which have been installed by an ZYpp/Zypper package?]
|
||||
|
||||
[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
|
||||
Reference in New Issue
Block a user