Yum: Difference between revisions

From DWIKI
Line 11: Line 11:
  yum check-update -q
  yum check-update -q
==Check security updates==
==Check security updates==
see https://access.redhat.com/solutions/10021
On CentOS 6 first install
On CentOS 6 first install
  yum install yum-plugin-security
  yum install yum-plugin-security


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

Revision as of 09:13, 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

see https://access.redhat.com/solutions/10021 On CentOS 6 first install

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