Package Management Cheat Sheet - john meister
Package Management Cheat Sheet
Task Managing software Install new software from package repository Install new software from package file Update existing software
Remove unwanted software
apt (deb) Ubuntu, Debian apt-get install pkg dpkg -i pkg apt-get install pkg apt-get remove pkg
yum (rpm) Fedora, CentOS yum install pkg yum localinstall pkg yum update pkg yum erase pkg
zypp (rpm) openSUSE
zypper install pkg
zypper install pkg
zypper update -t package pkg zypper remove pkg
urpmi (rpm) Mandriva urpmi pkg urpmi pkg urpmi pkg urpme pkg
slapt-get (tgz,tbz,tlz) Vector
pacman (pkg.tar.gz) Arch
slapt-get --install pkg pacman -S pkg
slapt-get --install pkg pacman -U pkg
slapt-get --install pkg pacman -S pkg
slapt-get --remove pkg pacman -R pkg
Updating the system Update package list
apt-get update
yum check-update
zypper refresh
urpmi.update -a
slapt-get --update
pacman -Sy
Update system
apt-get upgrade
yum update
zypper update
urpmi --auto-select
slapt-get --upgrade
pacman -Su
Check all dependencies
apt-get check
Fix dependency problems
apt-get ?f install
Searching for packages Search by package name
apt-cache search pkg yum list pkg
zypper search pkg
urpmq pkg
slapt-get --search pkg pacman -Ss pkg
Search by pattern Search by file name
apt-cache search pat apt-file search file
yum search pat yum provides file
zypper search -t pattern pat zypper wp file
urpmq --fuzzy pat urpmf file
slapt-get --search pat --
pacman -Ss pat pacman -Qo file
List installed packages
dpkg -l
yum list installed
zypper search -is
rpm -qa
slapt-get --installed
pacman -Q
Configuring access to software repositories
List repositories
cat /etc/apt/sources.list yum repolist
zypper repos
urpmq --list-media
cat /etc/slapt-get/slapt-getrc cat /etc/pacman.conf
Add repository Remove repository
(edit /etc/apt/sources.list) (edit /etc/apt/sources.list)
(add repo to /etc/yum.repos.d/) (remove repo from /etc/yum.repos.d/)
zypper addrepo path name zypper removerepo name
urpmi.addmedia name path urpmi.removemedia name
(edit /etc/slapt-get/slapt-getrc) (edit /etc/slapt-get/slapt-getrc)
(edit /etc/pacman.conf) (edit /etc/pacman.conf)
smart smart install pkg smart install pkg smart upgrade pkg smart remove pkg
smart update smart upgrade smart check smart fix
smart query pkg smart search pat smart query --path=file smart query --installed
smart channel --show smart channel ?add name path smart channel ?remove name
Based on earlier work by
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- cheat sheet for word brain game
- macro cheat sheet pdf
- logarithm cheat sheet pdf
- excel formula cheat sheet pdf
- excel formulas cheat sheet pdf
- excel cheat sheet 2016 pdf
- vba programming cheat sheet pdf
- macro cheat sheet food
- free excel cheat sheet download
- onenote cheat sheet pdf
- punctuation rules cheat sheet pdf
- excel formula cheat sheet printable