Yum CentOS Package Manager Command Reference

Check for Available Updates

$ yum check-update

Install Available Updates

$ yum update

Search for a Package

$ yum list php

Install a Package

$ yum install php

Uninstall a Package

$ yum remove php

Update a Specific Package

$ yum update php

Get Info about a Package

$ yum info php

List Packages Installed on System

Hint: pipe the output to less for easy reading.

$ yum list installed | less

Tags

 yum  CentOS  package management  linux  system administration