Novell LINUX ENTERPRISE SERVER 11 - ADMINISTRATION Administration Manual page 36

Hide thumbs Also See for LINUX ENTERPRISE SERVER 11 - ADMINISTRATION:
Table of Contents

Advertisement

Additionally, you can choose from one or more global options by typing them just before
the command. For example, --non-interactive means, run the command without
asking anything, decide on your own:
zypper --non-interactive patch
To use the options specific to a particular command, type them right after the command.
For example, --auto-agree-with-licenses means, apply all needed patches
to the system without asking to confirm any licenses—all of them were read in advance:
zypper patch --auto-agree-with-licenses
Some of the commands require one or more arguments:
zypper install mplayer
Some of the options also require an argument. The following command will list all
known patterns:
zypper search -t pattern
You can combine all of the above. For example, the following command will install
mplayer and amarok packages using the factory repository only and be verbose:
zypper -v install --repo factory mplayer amarok
4.1.2 Installing and Removing Software with
Zypper
To install a package from registered repositories, use:
zypper install package_name
To install a specific version of a package, use:
zypper install package_name=version
zypper also supports wild cards. For example, to install all packages starting with
package_name use the following:
zypper install package_name*
You can also install a local or remote RPM directly—Zypper will also install all packages
that package_name is dependent on automatically with the following:
zypper install http://www.example.com/package_name.rpm
22
Administration Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11

Table of Contents