Yum: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 1: Line 1:
=Internal=
=Internal=


* [[Linux#Commands]]
* [[Linux#Commands|Linux Commands]]


=Find Packages that Might Contain a Certain Command=
=Find Packages that Might Contain a Certain Command=

Revision as of 05:15, 7 August 2016

Internal

Find Packages that Might Contain a Certain Command

yum provides sealert

Find Whether a Package is Installed

yum list installed | grep <package-name>

Example of positive hit:

[root@ns ~]# yum list installed | grep httpd
httpd.x86_64                     2.4.6-40.el7                @rhel-7-server-rpms
httpd-tools.x86_64               2.4.6-40.el7                @rhel-7-server-rpms

Update All Packages

yum -y update

Uninstall a Package

yum remove <package-name>