Yum: Difference between revisions

From Leo's Notes
This page was last edited on 24 February 2017, at 19:31.
m Text replacement - "</code>" to "}}"
No edit summary
Line 1: Line 1:
The Yum package manager has been replaced by DNF.


== Excluding Packages ==
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.
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:
The list is separated by a space and supports wildcards. For example:
exclude=cpsc-uml
{{highlight|lang=text|code=
exclude=cpsc-uml pack* package3
}}

Revision as of 19:31, 24 February 2017

The Yum package manager has been replaced by DNF.

Excluding Packages

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

The list is separated by a space and supports wildcards. For example:

exclude=cpsc-uml pack* package3