Yum: Difference between revisions

From Leo's Notes
This page was last edited on 24 February 2017, at 19:15.
m Text replacement - "<code>" to "{{code|"
m Text replacement - "</code>" to "}}"
Line 1: Line 1:


To exclude a package from being installed, use the {{code|-x</code> option or add to the {{code|exclude</code> attribute in the {{code|/etc/yum.conf</code> file.
To exclude a package from being installed, use the {{code|-x}} option or add to the {{code|exclude}} attribute in the {{code|/etc/yum.conf}} file.


Eg:
Eg:
  exclude=cpsc-uml
  exclude=cpsc-uml

Revision as of 19:15, 24 February 2017

To exclude a package from being installed, use the -x option or add to the exclude attribute in the /etc/yum.conf file.

Eg:

exclude=cpsc-uml