yum & rpm - Installing software

yum

yum search string  #Search for string
yum info [package] #Display info
yum install [-y]   #package Install package
yum remove package #Remove package

rpm

rpm -qa
#List all installed packages.
rpm -qf /path/to/file
#List the file’s package.

rpm -ql package
#List package’s files.
rpm -ivh package.rpm
#Install package.
rpm -e package
#Erase (uninstall) package.

APT

dpkg

Last updated