How to specify the kernels to be removed?

Paul Smith phhs80 at gmail.com
Wed Aug 8 18:35:52 UTC 2007


On 8/8/07, Kam Leo <kam.leo at gmail.com> wrote:
> > Is it possible to remove installed kernels by specifying the ones that
> > one wants to remove?
>
> 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.

Thanks, Kam.

Paul




More information about the fedora-list mailing list