When you start to use openSUSE, the first thing you discover is YaST. Amazing tool that it is -- and I really do recommend learning about it because it can be invaluable -- many package management tasks are better suited to the command line. And that means zypper.
Get to know it, because you'll be using it a LOT. I recommend the following reading list:
Frequently forgotten
Get to know it, because you'll be using it a LOT. I recommend the following reading list:
zypper reading list
- For starters, read Chapter 8. Managing Software with Command Line Tools of the openSUSE 11.4 Reference (for some unfathomable reason, this material was left out of the 12.2 Reference)
- Then, dive in even deeper if you dare: SDB:Zypper usage 12.2
- Also, don't forget to learn about the
rpm
command, because it has some listing functionality that is not duplicated inzypper
-- take a look, e.g., at "RPM basics: querying the package database" right here at Smithfarm - the Brain. - SDB:Vendor change update
/etc/zypp/zypp.conf
zypper cheat sheet
Frequently forgotten
zypper
commands:- zypper packages -i [REPO] (list all installed packages from REPO) Note on the 'i' and 'v' letters in the first column: the 'i' means "Installed", which is clear enough. The 'v' means "Another version installed", or in other words: multiple versions of this package are currently available from different repos _and_ a version from a different repo is installed.
- zypper search -s [STRING] (search for packages matching STRING and show details such as 'i'/'v' letters explained above, version, and repository name)