RPM (Redhat Package Manager)
- rpm -qa | grep [package-name] : check whether package already installed
- rpm -qi [package-name] : find out detailed information of a package
- rpm -qc [package-name] : find out file configuration of a package
- rpm -ql [package-name] : find out what directory being installed by a package
YUM (Yellowdog Updater Modified)
- yum info [package-name] : find out detailed information of a package
- yum search [package-name] : search for a package
- yum install [package-name] : install a package
- yum remove [package-name] : remove a package
- yum history : find out detailed history of yum command
- yum deplist [package] : find out detailed depedency of a package