Linux Multi-Distro Package Manager Cheatsheet - page 2
Debian and Fedora (apt and yum)
The native package manager for OpenSUSE is Zypper. The basic commands are:
|zypper in sqlite3||To install sqlite3|
|zypper lp||To see what patch updates are needed|
|zypper patch||To apply the needed patches|
|zypper up||To update all installed packages with newer versions, where possible|
|zypper rm sqlite2||To remove sqlite2|
|zypper se sqlite||to search for sqlite|
|zypper [command] --help||Help on command.|
zypper ar http://example.com/pub/repo/SuSE/11.1 reponameAgain, the repository webpage should tell you the URL to use. By default, Zypper should have autorefresh on; if you've turned it off, you'll need to use zypper refresh after adding a repository and before issuing commands.
Slackware is the only one of the distros covered in this article whose package manager doesn't deal with dependency management. This is a deliberate choice -- Slackware prefer dependencies to be managed directly by the sysadmin. Packages should also be downloaded directly (unfortunately the Slackware package browser is out of action at the moment, but packages, in txz format, are available elsewhere, or you can download the entire distro from the Slackware site).
|installpkg newpackage||Install newpackage.|
|updatepkg newpackage||Update (upgrade) newpackage.|
|removepkg oldpackage||Remove oldpackage.|
Sponsored by BlackBerry
BlackBerry® Enterprise Server Express enables businesses of any size to quickly and easily get started with the BlackBerry solution. It provides advanced BlackBerry smartphone features with no additional software or user license fees, and works with any Internet-enabled BlackBerry data plan or a BlackBerry enterprise data plan. Download now!