1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-09 20:55:43 +02:00
tldr/pages/linux/zypper.md
2025-07-19 21:33:20 +05:30

29 lines
696 B
Markdown

# 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:
`zypper {{[ref|refresh]}}`
- Install a new package:
`zypper {{[in|install]}} {{package}}`
- Remove a package:
`zypper {{[rm|remove]}} {{package}}`
- Upgrade installed packages to the newest available versions:
`zypper {{[up|update]}}`
- Search package via keyword:
`zypper {{[se|search]}} {{keyword}}`
- Show information related to configured repositories:
`zypper {{[lr|repos]}} --sort-by-priority`