How to specify the kernels to be removed?

Kam Leo kam.leo at gmail.com
Wed Aug 8 17:26:42 UTC 2007


On 8/8/07, Paul Smith <phhs80 at gmail.com> wrote:
> Dear All,
>
> Is it possible to remove installed kernels by specifying the ones that
> one wants to remove?
>
> Thanks in advance,
>
> Paul

1) rpm -qa | grep ^kernel

This will provide a list of all kernel flavored packages installed on
your system.

2) rpm -e kernel-unwanted-version kernel-unwanted-devel kernel-unwanted-etc

You can remove the unwanted packages one per command line or multiple as above.

or

yum remove kernel-unwanted-version

smart remove kernel-unwanted-version

You can also use the GUI versions of smart or yumex to do the same.




More information about the users mailing list