Kernel Removal following Test Days

You can do a “dnf list installed kernel*” then the output will give you the exact package names to remove. For example one of my older kernels with all its supporting packages could be removed with all packages for the same kernel by using
“dnf remove kernel*5.10.18*” and it would remove all packages related to the 5.10.18 kernel. Similarly a like command
“dnf remove kernel*5.11.4* kernel*5.11.5*” would allow removal of all remaining packages related to those 2 kernels.