Summary of zypper command usage in SUSE Linux system

  
                

Zypper is a program for managing software under SUSE Linux. It has multiple functions. How do you use Zypper commands to manage software under Linux? The following small series will introduce you to the SUSE Linux method of using the Zypper command, interested friends can come to understand.

Zypper is a command line interface for installing, upgrading, uninstalling, managing repositories, and performing various package queries in SUSE Linux. This article will discuss examples of several different commands for zypper.

syntax:

# zypper [--global-opts] "command" [--command-opts] [command-arguments]

in brackets The part can be omitted. The easiest way to execute zypper is to type zypper and .

Example 1: Listing available global options and commands

Open the terminal, type zypper and press Enter. It will display all available global options and commands.

linux-xa3t:~# zypper

Example 2: Getting help for a zypper command

Syntax: zypper help [command]

linux -xa3t:~# zypper help remove

remove (rm)[options]capability. . .

Remove packages with specified capabilities.

A capability is NAME[.ARCH][OP "VERSION"], where OP is one of ", "=,=,"=," .

Command options:

-r,--repo "alias

Copyright © Windows knowledge All Rights Reserved