2016-01-04 18:32:04 +00:00
|
|
|
# zypper
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> SUSE & openSUSE package management utility.
|
2022-12-05 00:57:55 +00:00
|
|
|
> For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
|
2021-07-14 20:23:26 +01:00
|
|
|
> More information: <https://en.opensuse.org/SDB:Zypper_manual>.
|
2016-01-04 18:32:04 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Synchronize list of packages and versions available:
|
2016-01-04 18:32:04 +00:00
|
|
|
|
|
|
|
`zypper refresh`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Install a new package:
|
2016-01-04 18:32:04 +00:00
|
|
|
|
|
|
|
`zypper install {{package}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Remove a package:
|
2016-01-04 18:32:04 +00:00
|
|
|
|
|
|
|
`zypper remove {{package}}`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Upgrade installed packages to the newest available versions:
|
2016-01-04 18:32:04 +00:00
|
|
|
|
|
|
|
`zypper update`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Search package via keyword:
|
2016-01-04 18:32:04 +00:00
|
|
|
|
|
|
|
`zypper search {{keyword}}`
|
2021-07-14 20:23:26 +01:00
|
|
|
|
|
|
|
- Show information related to configured repositories:
|
|
|
|
|
|
|
|
`zypper repos --sort-by-priority`
|