zypper is used for package management or system administration in the SUSE family. Consult the distribution manual for release-specific behaviour.
sudo zypper refreshzypper is used for package management or system administration in the SUSE family. Consult the distribution manual for release-specific behaviour.
zypper [global-options] command [options]zypper is used for package management or system administration in the SUSE family. Consult the distribution manual for release-specific behaviour.
sudo zypper refreshShow command help and options where supported.
zypper --help| Option / clause | Description |
|---|---|
refresh | Refresh repository metadata. |
install / remove <package> | Install or remove packages; inspect dependency changes. |
search <term> | Search package names and descriptions. |
update / dup | Update packages or perform a distribution upgrade; dup can change many packages. |
--dry-run | Show planned changes without applying them. |
--non-interactive | Suppress interactive prompts; use carefully in scripts. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.