Of course, this will only work if you have the repository with the source packages en-
abled in your repository list (it is added by default, but not enabled). See Section 8.1.4,
“Managing Repositories with Zypper” (page 138) for details on repository management.
A list of all source packages available in your repositories can be obtained with:
zypper search -t srcpackage
8.1.2.2 Utilities
To verify whether all dependencies are still fullled and to repair missing dependencies,
use:
zypper verify
In addition to dependencies that must be fullled, some packages “recommend” other
packages. These recommended packages are only installed if actually available and
installable. In case recommended packages were made available after the recommending
package has been installed (by adding additional packages or hardware), use the follow-
ing command:
zypper install-new-recommends
This command is very useful after plugging in a webcam or WLAN device. It will install
drivers for the device and related software, if available. Drivers and related software
are only installable if certain hardware dependencies are fullled.
8.1.3 Updating Software with Zypper
There are three different ways to update software using Zypper: by installing patches,
by installing a new version of a package or by updating the entire distribution. The
latter is achieved with the zypper dist-upgrade command which is discussed
in Section 15.1, “Upgrading the System” (page 219).
8.1.3.1 Installing Patches
To install all ofcially released patches applying to your system, just run:
zypper patch
Managing Software with Command Line Tools 135