Safe way to remove old kernels

Matthew Miller mattdm at mattdm.org
Tue Jul 19 02:19:28 UTC 2005


On Mon, Jul 18, 2005 at 08:45:05PM -0500, John Best wrote:
> It appears I have been "collecting" kernels since installing FC4.  I
> presently show 4 copies in /lib/modules all of which were installed via
> up2date via the YUM repositories.. (Except for the initial FC4 install)
> Is there a proper way to remove them? such as yum remove ,etc...
> Thanks...

Install the "yum-utils" package from Fedora Extras, and run:

  sudo package-cleanup --oldkernels

(assuming you have sudo privileges, of course).

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 80 degrees Fahrenheit.




More information about the fedora-list mailing list