| zypper --help | Display help |
| zypper help command | Display command-specific help |
| |
| |
| zypper lr | List repositories |
| zypper lr -d | List repositories, show details (URI, priority, type, etc.) |
| zypper ar -f repoURI alias | Add repository, enable autorefresh |
| zypper rr repoURI or alias | Remove repository |
| zypper ref | Refresh all repositories |
| |
| zypper lr -e filename | Export a list of repos to filename |
| zypper ar filename | Import a list of repos from filename |
| |
| |
| zypper in packagename | Install package |
| zypper rm packagename | Remove package |
| zypper ve | Verify integrity of all package dependencies |
| zypper si packagename | Install source packages and their build dependencies. |
| zypper inr | Install newly added packages recommended by installed packages. |
| |
| |
| zypper lu | List available updates |
| zypper up | Update installed packages with newer versions |
| zypper lp | List needed patches |
| zypper pchk | Check for patches |
| zypper patch | Install needed patches |
| zypper dup | Perform a distribution upgrade |
| |
| |
| zypper se pattern | Search for packages matching a pattern |
| zypper if packagename | Show full information for specified package |
| zypper pch | List all available patches. |
| zypper pa | List all available packages |
| zypper pt | List all available patterns |
| zypper pd | List all available products |
| zypper wp | List packages providing specified capability |
| |
...and, if you need to install a '1-click install' file from the console:
OCICLI url/to/ymp/file |
|
| For example, if you need to install the latest nVidia drivers: |
|
| OCICLI http://opensuse-community.org/nvidia.ymp |
| |