Posted 2019-07-05 with tags yum, CentOS, package management, linux, system administration

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