Operation Manual
by the exact package name (and version number)
zypper install MozillaFirefox
or
zypper install MozillaFirefox-3.5.3
by repository alias and package name
zypper install mozilla:MozillaFirefox
Where mozilla is the alias of the repository from which to install.
by package name using wildcards
The following command will install all packages that have names starting with
“Moz”. Use with care, especially when removing packages.
zypper install Moz*
by capability
For example, if you would like to install a perl module without knowing the name
of the package, capabilities come in handy:
zypper install 'perl(Time::ParseDate)'
by capability and/or architecture and/or version
Together with a capability you can specify an architecture (such as i586 or
x86_64) and/or a version. The version must be preceded by an operator: < (lesser
than), <= (lesser than or equal), = (equal), >= (greater than or equal), > (greater
than).
zypper install 'firefox.x86_64'
zypper install 'firefox>=3.5.3'
zypper install 'firefox.x86_64>=3.5.3'
by path to the RPM le
You can also specify a local or remote path to a package:
zypper install /tmp/install/MozillaFirefox.rpm
zypper install
http://download.opensuse.org/repositories/mozilla/SUSE_Factory/x86_64/MozillaFirefox-3.5.3-1.3.x86_64.rpm
To install and remove packages simultaneously use the +/- modiers. To install emacs
and remove vim simultaneously, use:
zypper install emacs -vim
Managing Software with Command Line Tools 133










