Difference between revisions of "Yum"

From DWIKI
m
Line 11: Line 11:
  yum check-update -q
  yum check-update -q
==Check security updates==
==Check security updates==
On CentOS 6 first install
yum install yum-plugin-security
  yum list-security -q --errorlevel=0
  yum list-security -q --errorlevel=0

Revision as of 09:53, 5 September 2016

Cheatsheet

Show installed packages

yum list installed

What provides a certain file

yum whatprovides


Check updates

yum check-update -q

Check security updates

On CentOS 6 first install

yum install yum-plugin-security
yum list-security -q --errorlevel=0