linux_wiki:yum

This is an old revision of the document!


Yum

General Information

YellowDog Update Manager (yum) .

Checklist

  • Enterprise Linux (Red Hat based)

Kernel Maintenance

View Installed Kernels

rpm -q kernel

Remove Old Kernels

  1. Install yum utils
    yum install yum-utils
  2. Cleanup, set count to how many old kernels you want to remain
    package-cleanup --oldkernels --count=3
  3. Set number of installed kernels as a persistent setting
    vim /etc/yum.conf
     
    installonly_limit=3

  • linux_wiki/yum.1451857528.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)