mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 00:49:18 +00:00
Update cheatsheets
This commit is contained in:
34
linux/zypper
Normal file
34
linux/zypper
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 refresh`
|
||||
|
||||
- Install a new package:
|
||||
|
||||
`zypper install {{package}}`
|
||||
|
||||
- Remove a package:
|
||||
|
||||
`zypper remove {{package}}`
|
||||
|
||||
- Upgrade installed packages to the newest available versions:
|
||||
|
||||
`zypper update`
|
||||
|
||||
- Search package via keyword:
|
||||
|
||||
`zypper search {{keyword}}`
|
||||
|
||||
- Show information related to configured repositories:
|
||||
|
||||
`zypper repos --sort-by-priority`
|
||||
Reference in New Issue
Block a user