Jump to content

Yum

From MattWiki

Yum is the Fedora update program.

  • Also See: Yum/Repos
  • Exclude 'Kernel' Updates from Yum

Add the line 'exclude=kernel*' to your /etc/yum.conffile.

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
exclude=kernel*
  • To only download a number of select programs from a repo, add the following
includepkgs=dovecot*

This will now only download and install the dovecot package, and it's dependency.