How to install the latest 5.11 or 5.12 kernel ?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Sporax
Level 1
Level 1
Posts: 18
Joined: Thu Dec 07, 2017 10:08 am

How to install the latest 5.11 or 5.12 kernel ?

Post by Sporax »

will someone tell me how to install the latest 5.11 or 5.12 kernel ?

downloaded: amd64/linux-headers-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb

and don't know how to install this...tryied: sudo -s dpkg -i amd64/linux-headers-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb.deb

and doesn't work

used standard kernel 5.4 (7300HQ Cpu) and temperatures where very very bad, changed to 5.8 and is better so want try newest to see :D
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
AndyMH
Level 21
Level 21
Posts: 13748
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by AndyMH »

Install mainline:
https://ubuntuhandbook.org/index.php/20 ... inux-mint/
you don't need to download the kernel, mainline will do it for you.

Note - this is for mainline kernels, you don't get a version that has been customised by either ubuntu or mint. Proceed at your own risk.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by Flemur »

Sporax wrote: Tue May 04, 2021 6:36 am ...
and don't know how to install this...tryied: sudo -s dpkg -i amd64/linux-headers-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb.deb

and doesn't work
Rather than tell what didn't happen...what did happen?

Anyway, to install e.g. 5.12, I used to go to
http://kernel.ubuntu.com/~kernel-ppa/mainline/ ->
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12/
and install the FIVE packages (.deb files) for e.g. amd64 (it shows 7 .deb files, but two are either lowlatency or generic - pick one, not both).

...which is probably the hard way of doing what AndyMH described.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by JeremyB »

There might be an issue with mainline right now, https://github.com/bkw777/mainline/issu ... -831777690
User avatar
AndyMH
Level 21
Level 21
Posts: 13748
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by AndyMH »

JeremyB wrote: Tue May 04, 2021 9:16 am There might be an issue with mainline right now, https://github.com/bkw777/mainline/issu ... -831777690
There is always UKUU, but not free anymore.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Sporax
Level 1
Level 1
Posts: 18
Joined: Thu Dec 07, 2017 10:08 am

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by Sporax »

:) going to try but installed 5.12 and mint said is not supported so how check before download or install which is supported or no... is any methods ? :) Still having mint but want try this lowlatency 5.8 (I think ubuntu studio has 5.8 lowlatency). Installing 5.8lowLatencty in same way as installed 5.12 and also saying is not supported
User avatar
spamegg
Level 14
Level 14
Posts: 5098
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by spamegg »

Which kernels are supported or not can be seen from Update Manager/View/Linux Kernels. Mint 20.1 only supports 5.4 and 5.8 series.

Not to be rude, but I think that installing unsupported kernels like that kinda defeats the purpose of using Mint, it would be better to use Arch or Manjaro instead. Latest Manjaro (21) ships with 5.10 as default, and I'm sure it's possible to switch to 5.11 or 5.12.
bodge99

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by bodge99 »

Hi,

I've got hardware that needs a minimum 5.11.7 kernel for best performance.. I've got several other distros installed.. but I support Mint machines locally here and I'm not prepared to tolerate sub-par performance. That's just me though..

You can't install the full Ubuntu 5.12.0 packages or newer on Mint. The kernel headers have dependency problems.. require libc6 (>= 2.33).

Bodge99
User avatar
Pjotr
Level 24
Level 24
Posts: 20129
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by Pjotr »

Sporax wrote: Tue May 04, 2021 6:36 am will someone tell me how to install the latest 5.11
The Canonical Kernel Team PPA has the 5.11.x by now:
https://easylinuxtipsproject.blogspot.c ... t.html#ID8
(item 8 )

Tried it, but am underwhelmed. Graphical performance on my AMD graphics was abysmal. Much worse than on the 5.8.x kernel.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
silvatech
Level 3
Level 3
Posts: 174
Joined: Sun Aug 14, 2016 5:50 pm
Contact:

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by silvatech »

Personally running from Ubuntu Mainline Kernel installer 5.11.16 . Working good with my nvidia card.
tangry
Level 1
Level 1
Posts: 12
Joined: Mon Dec 14, 2020 10:47 pm
Location: Australia

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by tangry »

I can tell you what I did, but be aware that what I did is generally ill-advised as it breaks some dependencies. Also I use an Nvidia video card atm so keep that in mind. So having said all that, here's what I did....

I added the line:

deb http://mirrors.kernel.org/ubuntu hirsute main universe

to the /etc/apt/sources.list file.

Then I ran an update and there were like 300+ things in the list.

Of which I ignored all of them except one. I only installed the glibc-2.33-0ubuntu5 package.
This was because kernel compilation always failed for me with the error libc6 >=2.33 required but libc6 2.31 installed.

Once the libc6 2.33 package was installed I re-ran Ubuntu Mainline Kernel Installer and this time the kernel compiled without any errors.

I rebooted, then I then went to Software Sources - Additional Repositories and unticked the Ubuntu hirsute PPA i had added earlier.
Neofetch showing 5.12.9 generic kernel
https://imgur.com/a/7cQi3FN

Maybe it's too soon to tell, because I only did this 20 minutes ago, but so far everything still appears to be working.


Edit: spoke too soon.
dpkg -s libc6 shows the following:

Breaks:
busybox (<< 1.30.1-6)
fakeroot (<< 1.25.3-1.1ubuntu2~)
hurd (<< 1:0.9.git20170910-1)
ioquake3 (<< 1.36+u20200211.f2c61c1~dfsg-2~)
iraf-fitsutil (<< 2018.07.06-4)
libgegl-0.4-0 (<< 0.4.18)
libtirpc1 (<< 0.2.3)
locales (<< 2.33)
locales-all (<< 2.33)
macs (<< 2.2.7.1-3~)
nocache (<< 1.1-1~)
nscd (<< 2.33)
openarena (<< 0.8.8+dfsg-4~)
openssh-server (<< 1:8.2p1-4)
r-cran-later (<< 0.7.5+dfsg-2)
wcc (<< 0.0.2+dfsg-3)
a.bowers
Level 2
Level 2
Posts: 62
Joined: Mon Nov 24, 2014 3:50 pm

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by a.bowers »

spamegg wrote: Tue May 04, 2021 4:25 pm Which kernels are supported or not can be seen from Update Manager/View/Linux Kernels. Mint 20.1 only supports 5.4 and 5.8 series.
Hi, question. How permanent is the fact above? Like, will 5.12 be coming to Mint 20.1 during its life cycle, or is it not going beyond 5.8 because LTS reasons?

I'm only really interested in the PS5 controller driver in 5.12, it's working as a generic gamepad right now, the rest of my system is running fine so I'm not real worried about it, it would just be mildly convenient to have the touchpad work.
ThaCrip
Level 5
Level 5
Posts: 988
Joined: Sat Dec 07, 2019 12:13 pm

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by ThaCrip »

a.bowers wrote: Mon Jun 14, 2021 8:50 pm Like, will 5.12 be coming to Mint 20.1 during its life cycle, or is it not going beyond 5.8 because LTS reasons?

I'm only really interested in the PS5 controller driver in 5.12, it's working as a generic gamepad right now, the rest of my system is running fine so I'm not real worried about it, it would just be mildly convenient to have the touchpad work.
Mint v20.x = 5.4 LTS. the 5.8 kernel is only supported til Aug 2021.

so in other words... there will be a newer kernel than 5.8 soon enough. but as to which one, I can't say.
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
Aztaroth
Level 5
Level 5
Posts: 764
Joined: Mon Jan 11, 2021 1:48 am

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by Aztaroth »

I would advise against upgrading the kernel now.
The reason is that Mint 20.2 beta release is imminent (the blog says mid-June) and the full release should probably come in July.
So, you may find yourself in a situation where a Mint upgrade to 20.2 coming with an older kernel than 5.11 or 5.12 may be chaotic, specially with proprietary drivers.
I can't figure a better way to wreak havoc in your system.
I'd wait to see what kernel will be shipped with Mint 'Uma' and which one Edge ISO will include in the future.
But of course, it's not my computer, and everyone is the boss on his own...
dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)
User avatar
stevengarland
Level 5
Level 5
Posts: 843
Joined: Tue Mar 05, 2019 4:04 pm
Location: Michigan

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by stevengarland »

5.10 is released for Mint 20.1. Can be installed with Synaptic.
Keep It Simple Sweetheart
ThaCrip
Level 5
Level 5
Posts: 988
Joined: Sat Dec 07, 2019 12:13 pm

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by ThaCrip »

stevengarland wrote: Tue Jun 15, 2021 9:31 am 5.10 is released for Mint 20.1. Can be installed with Synaptic.
I don't see anything in the usual 'Update Manager > View > Linux Kernels' section. so I assume what you say is nothing official yet?
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
User avatar
stevengarland
Level 5
Level 5
Posts: 843
Joined: Tue Mar 05, 2019 4:04 pm
Location: Michigan

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by stevengarland »

I am using Mint 20.1. I received the kernel 5.10 change as a part of regular updates on about June 3. It works just fine. Check Synaptic and check items in this forum. 5.10 is released.
Keep It Simple Sweetheart
User avatar
Pjotr
Level 24
Level 24
Posts: 20129
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by Pjotr »

ThaCrip wrote: Tue Jun 15, 2021 12:26 pm
stevengarland wrote: Tue Jun 15, 2021 9:31 am 5.10 is released for Mint 20.1. Can be installed with Synaptic.
I don't see anything in the usual 'Update Manager > View > Linux Kernels' section. so I assume what you say is nothing official yet?
Not quite, which is indeed why you can't see it in the kernel tool of mintupdate. But you can get it anyway, when you install the "semi-official" OEM kernel:
https://wiki.ubuntu.com/Kernel/OEMKernel

Installation:

Code: Select all

sudo apt-get install linux-oem-20.04b
Then reboot.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
ThaCrip
Level 5
Level 5
Posts: 988
Joined: Sat Dec 07, 2019 12:13 pm

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by ThaCrip »

Pjotr wrote: Thu Jun 17, 2021 12:33 pm Not quite, which is indeed why you can't see it in the kernel tool of mintupdate. But you can get it anyway, when you install the "semi-official" OEM kernel:
https://wiki.ubuntu.com/Kernel/OEMKernel
I am in no rush as 5.8 works well on my system (i5-3550 CPU etc) as ill just wait it out til something newer is available with the more of the official method of installing kernels on Mint (i.e. Update Manager > View > Linux Kernels).

but thanks for the info as something like that might be good in the future.
MainPC: i5-3550 (undervolted by -0.120v (CPU runs 12c cooler) /w stock i3-2120 hs/fan) | 1050 Ti 4GB | 16GB (2x 8GB) DDR3 1600Mhz RAM | Backups: AMD E-300 CPU (8GB RAM) / Athlon X2 3600+ CPU (@2.3GHz@1.35v) (4GB RAM) | All /w Mint 21.x-Xfce
User avatar
Pjotr
Level 24
Level 24
Posts: 20129
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: How to install the latest 5.11 or 5.12 kernel ?

Post by Pjotr »

ThaCrip wrote: Thu Jun 17, 2021 12:55 pm I am in no rush as 5.8 works well on my system (i5-3550 CPU etc) as ill just wait it out til something newer is available with the more of the official method of installing kernels on Mint (i.e. Update Manager > View > Linux Kernels).
Sensible decision. The kernel is the very core of your operating system; it makes no sense to mess with that unless you have a good reason.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Locked

Return to “Beginner Questions”