07 Managing Software

Installing Software on RPM Distro

RedHat

CentOS

Fedora

Oracle Linux

Scientific Linux

 

yum search string

yum info

yum install -y  package

yum remove package

 

rpm -qa  list all instaleld packages

rpm -qf /path/to/file   list the files’s package

rpm -ql package

rpm -ivh package .rpm Install package

rpm -e package Erase(uninstall) package

 

Installing Software on DEB Distro

Debian

Linux Mint

Ubuntu

 

apt-cache search string   search for string

apt-get install [-y] package   install package

apt-get remove package

apt-get purge package Remove package, deleting configuration

apt-get show package

 

dpkg -l List installed packages

dpkg -S /path/to/file  List files’s package

dpks -L package  List all files in package

dpkg -i package .deb  Install package