2025-03-14 21:59:59 -06:00
|
|
|
# zypper
|
|
|
|
|
|
|
|
|
|
> SUSE & openSUSE package management utility.
|
|
|
|
|
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
|
|
|
|
|
> More information: <https://en.opensuse.org/SDB:Zypper_manual>.
|
|
|
|
|
|
|
|
|
|
- Synchronize list of packages and versions available:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`zypper {{[ref|refresh]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Install a new package:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`zypper {{[in|install]}} {{package}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Remove a package:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`zypper {{[rm|remove]}} {{package}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Upgrade installed packages to the newest available versions:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`zypper {{[up|update]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Search package via keyword:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`zypper {{[se|search]}} {{keyword}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show information related to configured repositories:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`zypper {{[lr|repos]}} --sort-by-priority`
|