tldr/pages/linux/zypper.md

29 lines
533 B
Markdown
Raw Permalink Normal View History

2016-01-04 18:32:04 +00:00
# zypper
> SUSE & openSUSE package management utility.
> More information: <https://en.opensuse.org/SDB:Zypper_manual>.
2016-01-04 18:32:04 +00:00
- Synchronize list of packages and versions available:
2016-01-04 18:32:04 +00:00
`zypper refresh`
- Install a new package:
2016-01-04 18:32:04 +00:00
`zypper install {{package}}`
- Remove a package:
2016-01-04 18:32:04 +00:00
`zypper remove {{package}}`
- Upgrade installed packages to the newest available versions:
2016-01-04 18:32:04 +00:00
`zypper update`
- Search package via keyword:
2016-01-04 18:32:04 +00:00
`zypper search {{keyword}}`
- Show information related to configured repositories:
`zypper repos --sort-by-priority`