HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

zypper — SUSE & openSUSE package management utility. For equivalent commands in other package managers, see <

Submitted by: @import:tldr-pages··
0
Viewed 0 times
managementcommandopensusesuseclizypperpackageutility
linux

Problem

How to use the zypper command: 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>.

Solution

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:
sudo zypper {{[ref|refresh]}}


Install a new package:
sudo zypper {{[in|install]}} {{package}}


Remove a package:
sudo zypper {{[rm|remove]}} {{package}}


Upgrade installed packages to the newest available versions:
sudo zypper {{[up|update]}}


Search package via keyword:
zypper {{[se|search]}} {{keyword}}


Show information related to configured repositories:
zypper {{[lr|repos]}} --sort-by-priority

Code Snippets

Synchronize list of packages and versions available

sudo zypper {{[ref|refresh]}}

Install a new package

sudo zypper {{[in|install]}} {{package}}

Remove a package

sudo zypper {{[rm|remove]}} {{package}}

Upgrade installed packages to the newest available versions

sudo zypper {{[up|update]}}

Search package via keyword

zypper {{[se|search]}} {{keyword}}

Context

tldr-pages: linux/zypper

Revisions (0)

No revisions yet.