Page 1 of 1

[SOLVED] Deleting old Linux headers via MCC

PostPosted: Mar 25th, '15, 08:54
by foilio
[b][/b]Hi all

Im new to Mageia and have Mageia 4 installed on my laptop at the moment. I love the way it handles so smooth and fast. I'm not a newbie or advanced user but Ive had Mint and Ubuntu installed on the laptop before but I feel that they were not quite as good as Mageia 4. Im loving the learning curves, some easy some hard!

Hence why I want to ask to help with regard to deleting old headers via the Mageia Control Centre. Im not confident enough to do it via the Terminal and would like to learn how to do it via MCC. Can someone possibly give me the step by step way of doing it?

many thanks in advance for any help or info :D

Re: Deleting old Linux headers via MCC

PostPosted: Mar 25th, '15, 09:03
by isadora
Not knowing exactly where you are pointing at, but maybe our Doc-site can give you the right input:
https://wiki.mageia.org/en/Documentation

Re: Deleting old Linux headers via MCC

PostPosted: Mar 25th, '15, 20:13
by doktor5000
What headers do you want to delete, can you please elaborate on that so others can help better?

Re: Deleting old Linux headers via MCC

PostPosted: Mar 25th, '15, 20:26
by foilio
Hi

Thanks to both of you for your replies. I installed Mageia 4 around a week ago, did some system updates and now have two newer recent updated Linux headers to choose from in the grub menu at start up. I tend to keep them in the start up for a while as i can then boot into different headers and see how they run. But after a while I delete them when i feel its time to. In Ubuntu/Mint there was a DEB package software called Ailurus that allowed you to delete old headers easily and was wondering how its done via MCC as Ive read that its possible to?!
Many thanks to all for any more help its much appreciated.

Re: Deleting old Linux headers via MCC

PostPosted: Mar 25th, '15, 22:05
by doktor5000

Re: Deleting old Linux headers via MCC

PostPosted: Mar 25th, '15, 22:15
by martinw
doktor5000 got in while I was typing this, but I'll post it anyway...

Just to clarify, what you see in the grub menu is choices between different Linux kernels. If you are using any proprietary drivers, you will also have the associated kernel headers installed, which allows the dkms system to rebuild the drivers to work with the new kernel version.

To delete old kernel versions (once you are happy the latest version is working OK), start MCC and select "Install & Remove Software". In the drop-down box at the top left, make sure you have selected "All" packages. In the drop-down box to the right of that, select "Installed" packages. In the "Find" box to the right of that, type "kernel" and press enter. You should now see something like this:
rpmdrake.png
rpmdrake.png (161.46 KiB) Viewed 1528 times

but with more than one numbered version of each (I've already deleted all my old versions). Just uncheck the entries you want to remove and click on the apply button. As you can see, the software won't let you uninstall the version you are currently running, so it's reasonably foolproof :-) Leave the *-latest entries - they ensure new versions are installed when they become available (they are what's called "meta-packages" that just point to the current latest versions).

Just for information, the kernel-desktop-<version> package is the kernel itself, the kernel-desktop-devel-<version> package is the kernel headers, and the fglrx-kernel-<version> package is the proprietary driver for AMD Radeon grpahics cards. If you are using other proprietary drivers, you will see some different entries relating to those.

The links doktor5000 has already given you give more detailed explanations and examples.

Re: Deleting old Linux headers via MCC

PostPosted: Mar 26th, '15, 08:44
by foilio
Many thanks to doktor5000 and martinw for their help, its much appreciated. I now know how to delete old kernels! :D

Re: Deleting old Linux headers via MCC

PostPosted: Mar 26th, '15, 09:05
by isadora
Please foilio, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead. ;)