Linux Multi-Distro Package Manager Cheatsheet - page 2
Debian and Fedora (apt and yum)
OpenSUSE: Zypper
The native package manager for OpenSUSE is Zypper. The basic commands are:
| command | action |
|---|---|
| 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. |
To add a repository, use this 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: pkgtool
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).
| command | action |
|---|---|
| installpkg newpackage | Install newpackage. |
| updatepkg newpackage | Update (upgrade) newpackage. |
| removepkg oldpackage | Remove oldpackage. |
- Skip Ahead
- 1. Debian and Fedora (apt and yum)
- 2. Debian and Fedora (apt and yum)
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.