commands.sh

zypper

linux

SUSE & openSUSE package management utility. For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.

More info →

Options (6)

boolean

Synchronize list of packages and versions available

Example: sudo zypper {{[ref|refresh]}}
boolean

Install a new package

Example: sudo zypper {{[in|install]}} {{package}}
boolean

Remove a package

Example: sudo zypper {{[rm|remove]}} {{package}}
boolean

Upgrade installed packages to the newest available versions

Example: sudo zypper {{[up|update]}}
boolean

Search package via keyword

Example: zypper {{[se|search]}} {{keyword}}
boolean

Show information related to configured repositories

Example: zypper {{[lr|repos]}} --sort-by-priority

Examples (6)

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
made by @shridhargupta | data from tldr-pages