Archives For November 30, 1999

How to Install Linux Kernel 5.8 in Ubuntu

Last updated: August 4, 2020

Linux Kernel

Linus Torvalds announced the release of Linux kernel 5.8 two days ago on Sunday. Here’s how to install it in Ubuntu and / or Linux Mint.

New features in Linux Kernel 5.8 include:

  • Qualcomm Adreno 405 / 640 / 650 open-source support.
  • AMDGPU TMZ support.
  • Intel Tiger Lake SAGV support.
  • New Arm SoC and platform support.
  • AMD Energy Driver.
  • Initial support for booting POWER10 processors.
  • Intel Tiger Lake Thunderbolt support for Intel’s Gateway SoCs.
  • And many other new features and improvements.

How to Install Linux Kernel 5.8 in Ubuntu:

The mainline kernel packages for Linux 5.8 (64-bit) are now available for download at the link below:

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio):

  1. linux-headers-5.8.0-xxxxxx_all.deb
  2. linux-headers-5.8.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  3. linux-modules-5.8.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  4. linux-image-xxx-5.8.0-xxx-generic(/lowlatency)_xxx_amd64.deb

Alternatively you can download and install the kernel binaries via terminal commands ( open terminal via Ctrl+Alt+T):

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-headers-5.8.0-050800_5.8.0-050800.202008022230_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-headers-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-image-unsigned-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-modules-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.8:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.8:

sudo dpkg --purge linux-image-unsigned-5.8.0-050800-generic

Linux Kernel 5.6 was officially released. Linus Torvalds announced:

So I’ll admit to vacillating between doing this 5.6 release and doing another -rc.

This has a bit more changes than I’d like, but they are mostly from davem’s networking fixes pulls, and David feels comfy with them. And I looked over the diff, and none of it looks scary. It’s just slightly more than I’d have preferred at this stage – not doesn’t really seem worth delaying a release over.

So about half the diff from the final week is network driver fixlets, and some minor core networking fixes. Another 20% is tooling – mostly bpf and netfilter selftests (but also some perf work).

Linux Kernel 5.5 features WireGuard VPN support, and a lot of other notable improvements, including initial USB 4 support, Amazon’s Echo smart speaker, new Intel, AMD, and Arm hardware enablement.

How to Install Linux Kernel 5.6 in Ubuntu:

The mainline kernel packages for Linux 5.6 are now available for download at the link below:

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-5.6.0-xxxxxx_all.deb
  2. linux-headers-5.6.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  3. linux-modules-5.6.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  4. linux-image-xxx-5.6.0-xxx-generic(/lowlatency)_xxx_amd64.deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, or armhf, arm64, etc for other OS types.

Alternatively you can download and install the kernel binaries via terminal commands ( open terminal via Ctrl+Alt+T):

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.6/linux-headers-5.6.0-050600_5.6.0-050600.202003292333_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.6/linux-headers-5.6.0-050600-generic_5.6.0-050600.202003292333_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.6/linux-image-unsigned-5.6.0-050600-generic_5.6.0-050600.202003292333_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.6/linux-modules-5.6.0-050600-generic_5.6.0-050600.202003292333_amd64.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.6:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.5:

sudo dpkg --purge linux-image-unsigned-5.6.0-050600-generic

Linux Kernel 5.5 was announced two days ago. Linus Torvalds wrote on lkml.org:

So this last week was pretty quiet, and while we had a late network update with some (mainly iwl wireless) network driver and netfilter module loading fixes, David didn’t think that warranted another -rc. And outside of that, it’s really been very quiet indeed – there’s a panfrost driver update too, but again it didn’t really seem to make sense to delay the final release by another week.

…”

Kernel 5.5 release highlights:

  • Support for the Broadcom BCM2711 SoC (Raspberry Pi 4).
  • New Logitech driver for G15 and G510 keyboard.
  • KVM support for IBM POWER secure guests/VMs.
  • Initial Intel Jasper Lake support.
  • Intel 5-level paging support is enabled by default
  • AMD OverDrive overclocking for Navi GPUs.
  • and much more other changes.

How to Install Linux Kernel 5.5 in Ubuntu:

The mainline kernel packages for Linux 5.5 are available for download at the link below:

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-5.5.0-xxxxxx_all.deb
  2. linux-headers-5.5.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  3. linux-modules-5.5.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  4. linux-image-xxx-5.5.0-xxx-generic(/lowlatency)_xxx_amd64.deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, or armhf, arm64, etc for other OS types.

Alternatively you can download and install the kernel binaries via terminal commands ( open terminal via Ctrl+Alt+T):

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-headers-5.5.0-050500_5.5.0-050500.202001262030_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-headers-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-image-unsigned-5.5.0-050500-generic_5.5.0-050500.202001262030_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5/linux-modules-5.5.0-050500-lowlatency_5.5.0-050500.202001262030_amd64.deb

sudo dpkg -i *.deb

Note that there’s no Kernel 5.5 packages for 32-bit system.

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.5:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.5:

sudo dpkg --purge linux-image-unsigned-5.5.0-050500-generic

Linux 5.4 Kernel was released today. Here’s how to install it in Ubuntu and Linux Mint.

Linus Torvalds announced the 5.4 Kernel on lkml.org:

Not a lot happened this last week, which is just how I like it. And as expected, most of the pull requests I got were for the 5.5 merge window, which I’ll obviously start working through tomorrow.

Linux 5.4 Kernel brings a lot of new hardware support,including AMD Arcturus GPU, Navi 12 and Navi 14 GPUs, AMD Dali and Renoir APU support,Intel Tiger Lake “Gen 12” graphics,Qualcomm Snapdragon 855 SoC, Intel Ice Lake Thunderbolt support. The new release also features Logitech Linux LOCKDOWN LSM, Lightspeed receiver support, Microsoft exFAT support, and a plethora of other new features and improvements.

How to Install Linux Kernel 5.4 in Ubuntu:

The mainline kernel packages for Linux 5.4 are available for download at the link below:

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-5.4.0-xxxxxx_all.deb
  2. linux-headers-5.4.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  3. linux-modules-5.4.0-xxx-generic(/lowlatency)_xxx_amd64.deb
  4. linux-image-xxx-5.4.0-xxx-generic(/lowlatency)_xxx_amd64.deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

Alternatively you can download and install the kernel binaries via terminal commands ( open terminal via Ctrl+Alt+T):

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-headers-5.4.0-050400_5.4.0-050400.201911242031_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-headers-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-image-unsigned-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/linux-modules-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

sudo dpkg -i *.deb

No 32-bit packages so far as build for 32-bit failed.

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.4:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.4:

sudo dpkg --purge linux-image-unsigned-5.4.0-050400-generic

The latest stable Linux Kernel 5.1 was released. Linus Torvalds announced last night:

So it’s a bit later in the day than I usually do this, just because I was waffling about the release. Partly because I got some small pull requests today, but mostly just because I wasn’t looking forward to the timing of this upcoming 5.2 merge window.

On the whole, 5.1 looks very normal with just over 13k commits (plus another 1k+ if you count merges). Which is pretty much our normal size these days. No way to boil that down to a sane shortlog, with work all over.

Linux 5.1 brings many exciting changes including improved support for Intel Fastbook (enabled by default), Intel 22260 WiFi support, new I/O interface, new ACPI support, Raspberry Pi 3 Model A+ support by mainline, and a lot of new hardware support.

How to Install Linux Kernel 5.1 in Ubuntu:

The mainline kernel packages for Linux 5.1 are available for download at the link below:

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-5.1.0-xxxxxx_all.deb
  2. linux-headers-5.1.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-modules-5.1.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  4. linux-image-xxx-5.1.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

Alternatively you can download and install the kernel binaries via terminal commands (Ctrl+Alt+T):

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100_5.1.0-050100.201905052130_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-image-unsigned-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-modules-5.1.0-050100-generic_5.1.0-050100.201905052130_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100_5.1.0-050100.201905052130_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-headers-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-image-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1/linux-modules-5.1.0-050100-generic_5.1.0-050100.201905052130_i386.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.1:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.1:

sudo dpkg --purge linux-image-5.1.0-050100-generic linux-image-unsigned-5.1.0-050100-generic

Linux Kernel 4.20 was released a few days ago. Linus Torvalds announced:

Let’s face it, last week wasn’t quite as quiet as I would have hoped for, but there really doesn’t seem to be any point to delay 4.20 because everybody is already taking a break.

And it’s not like there are any known issues, it’s just that the shortlog below is a bit longer than I would have wished for. Nothing screams “oh, that’s scary”, though.

And as part of the “everybody is already taking a break”, I can happily report that I already have quite a few early pull requests in my inbox. I encouraged people to get it over and done with, so that people can just relax over the year-end holidays. In fact, I probably won’t start pulling for a couple of days, but otherwise let’s just try to keep to the normal merge window schedule, even if most people hopefully won’t even be back until over the merge window is over.

As to the details of this last week of 4.20 – most of it is networking (drivers, core networking fixes, bpf). There’s a few other non-network driver updates too, and a revert series of some of the x86 inline asm changes that were obviated by upcoming compiler support.

… …

Changes in Linux 4.20 include:

  • AMD Picasso APU support as well as Raven 2 APU support
  • Intel DRM driver has full PPGTT support for Haswell/Ivy/Valley View hardware.
  • The open-source NVIDIA Nouveau driver has initial HDMI 2.0 support.
  • The NVIDIA Xavier “Tegra194” SoC has initial display support.
  • Support for the Hygon Dhyana CPUs
  • Intel 2.5G Ethernet support via the new “IGC” driver.
  • LG Gram laptop support
  • File systems improvements, drivers updates, and many other changes.

How to Install Linux Kernel 4.20 in Ubuntu:

For easy way, there are a few third party tools, e.g., UKTools and Ukuu, make it easy to install the latest Kernel in Ubuntu.

You can also manually download the .deb binary packages:

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-4.20.0-xxxxxx_all.deb
  2. linux-headers-4.20.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-modules-4.20.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  4. linux-image-xxx-4.20.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

Also you can download and install the kernel binaries via terminal commands (Ctrl+Alt+T):

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/linux-headers-4.20.0-042000_4.20.0-042000.201812232030_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/linux-headers-4.20.0-042000-generic_4.20.0-042000.201812232030_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/linux-image-unsigned-4.20.0-042000-generic_4.20.0-042000.201812232030_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/linux-modules-4.20.0-042000-generic_4.20.0-042000.201812232030_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/linux-headers-4.20.0-042000_4.20.0-042000.201812232030_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/linux-headers-4.20.0-042000-generic_4.20.0-042000.201812232030_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/linux-image-4.20.0-042000-generic_4.20.0-042000.201812232030_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/linux-modules-4.20.0-042000-generic_4.20.0-042000.201812232030_i386.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 4.20:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 4.20.0:

sudo dpkg --purge linux-image-4.20.0-042000-generic linux-image-unsigned-4.20.0-042000-generic

Linux Kernel 4.19 LTS (Long Term Support) was released yesterday. Instead of Linus, Greg KH announced the new 4.19 release and wrote lots of words:

While it was not the largest kernel release every by number of commits, it was larger than the last 3 releases, which is a non-trivial thing to do. After the original -rc1 bumps, things settled down on the code side and it looks like stuff came nicely together to make a solid kernel for everyone to use for a while. And given that this is going to be one of the “Long Term” kernels I end up maintaining for a few years, that’s good news for everyone.

A small trickle of good bugfixes came in this week, showing that waiting an extra week was a wise choice. However odds are that linux-next is just bursting so the next -rc1 merge window is going to be bigger than “normal”, if there is such a thing as “normal” for our rate of development.

And speaking of development, there’s that other thing that happened this release cycle, that ended up making it such that I’m the one writing this instead of Linus. Allow me the guilty pleasure of taking a few minutes to talk about that….

What’s New in Kernel 4.19 (via omgubuntu.co.uk):

  • An alternate mode driver for USB Type-C/DisplayPort Type-C support
  • Better support for Intel’s Low Power Subsystem (LPSS)
  • Support for Qualcomm Adreno 600 series hardware
  • Initial support for Intel Icelake graphics
  • Armada atomic mode-setting
  • Ongoing DRM improvements
  • x86 KVM improvements
  • In-kernel GPS subsystem
  • General touchscreen improvements
  • Initial support for the 802.11ax WLAN
  • Various Filesystem improvements
  • Obligatory Linux power management tweaks
  • Continued Y2038 prep

How to Install Linux Kernel 4.19 in Ubuntu:

There are a few third-party tools, e.g., UKTools and Ukuu, make it easy to install the latest Kernel in Ubuntu.

You can also manually download the Kernel 4.19 Ubuntu binary packages at:

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-4.19.0-xxxxxx_all.deb
  2. linux-headers-4.19.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-modules-4.19.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  4. linux-image-xxx-4.19.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

Also you can download and install the kernel binaries via terminal commands:

For 64-bit OS:

cd /tmp/

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-headers-4.19.0-041900_4.19.0-041900.201810221809_all.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-headers-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-image-unsigned-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-modules-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-headers-4.19.0-041900_4.19.0-041900.201810221809_all.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-headers-4.19.0-041900-generic_4.19.0-041900.201810221809_i386.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-image-4.19.0-041900-generic_4.19.0-041900.201810221809_i386.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/linux-modules-4.19.0-041900-generic_4.19.0-041900.201810221809_i386.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 4.19:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 4.19.0:

sudo dpkg --purge linux-image-4.19.0-041900-generic linux-image-unsigned-4.19.0-041900-generic

Linus Torvalds finally announced the release of Linux Kernel 4.18 yesterday afternoon. He wrote in lkml.org:

It was a very calm week, and arguably I could just have released on schedule last week, but we did have some minor updates. Mostly networking, but some vfs race fixes (mentioned in the rc8 announment
as “pending”) and a couple of driver fixes (scsi, networking, i2c). Some other minor random things (arm crypto fix, parisc memory ordering fix). Shortlog appended for the (few) details.

Some of these I was almost ready to just delay to until the next merge window, but they were marked for stable anyway, so it would just have caused more backporting. The vfs fixes are for old races that are
really hard to hit (which is obviously why they are old and weren’t noticed earlier). Some of them _have_ been seen in real life, some of them probably need explicit help to ever trigger (ie artificial delays
just to show that “yes, this can actually happen in theory”).

Changes in kernel 4.18 include:

  • Initial support for the Qualcomm Snapdragon 845 SoC.
  • Various power management improvements to AMDGPU
  • Initial NVIDIA GV100 Volta support within Nouveau DRM driver
  • 32-bit ARM finally gets mitigated for Spectre V1/V2
  • Various new sound chips support
  • USB 3.2 and USB Type-C improvements.
  • And many other changes.

How to Install Linux Kernel 4.18 in Ubuntu:

There a few tools, e.g., UKTools and Ukuu, make it easy to install the latest Kernel in Ubuntu.

You can also manually download the Kernel 4.18 Ubuntu binary packages at:

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-4.18.0-xxxxxx_all.deb
  2. linux-headers-4.18.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-modules-4.18.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  4. linux-image-xxx-4.18.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

Also you can download and install the kernel binaries via terminal commands:

For 64-bit OS:

cd /tmp/

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-headers-4.18.0-041800_4.18.0-041800.201808122131_all.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-headers-4.18.0-041800-generic_4.18.0-041800.201808122131_amd64.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-image-unsigned-4.18.0-041800-generic_4.18.0-041800.201808122131_amd64.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-modules-4.18.0-041800-generic_4.18.0-041800.201808122131_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-headers-4.18.0-041800_4.18.0-041800.201808122131_all.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-headers-4.18.0-041800-generic_4.18.0-041800.201808122131_i386.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-image-4.18.0-041800-generic_4.18.0-041800.201808122131_i386.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-modules-4.18.0-041800-generic_4.18.0-041800.201808122131_i386.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 4.17:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 4.18.0:

sudo dpkg --purge linux-image-4.18.0-041800-generic linux-image-unsigned-4.18.0-041800-generic

There’s already a graphical tool called Ukuu which make it easy to install the latest Linux Kernels in Ubuntu and Linux Mint.

Today I’m going to show you a new command line tool called UKTools which provides:

  • uktools-upgrade, one command to install the latest Linux kernel (stable) from kernel.ubuntu.com.

  • uktools-purge, one command to remove old kernels, the first and the last two are excluded.

The tools also support cron jobs to automatically run upgrade and/or purge scripts.

How to Install UKTools in Ubuntu:

The application does not has any Ubuntu binary at the moment. However, it’s easy to compile it from the source.

1. Open terminal (Ctrl+Alt+T) and clone the source via command:

git clone https://github.com/usbkey9/uktools && cd uktools

2. Then compile and install it via command:

make

The setup runs automatically if it’s installed successfully.

Uninstall:

Keep the uktools folder in your user root directory, so you can re-run UKTools setup, or remove the command line tool via command:

cd ~/uktools/ && make uninstall

Linux Kernel 4.17 was finally announced yesterday. Linus Torvalds wrote in lkml.org:

So this last week was pretty calm, even if the pattern of most of the stuff coming in on a Friday made it feel less so as the weekend approached.

And while I would have liked even less changes, I really didn’t get the feeling that another week would help the release in any way, so here we are, with 4.17 released.

No, I didn’t call it 5.0, even though all the git object count numerology was in place for that. It will happen in the not _too_ distant future, and I’m told all the release scripts on kernel.org are ready for it, but I didn’t feel there was any real reason for it. I suspect that around 4.20 – which is I run out of fingers and toes to keep track of minor releases, and thus start getting mightily confused – I’ll switch over. That was what happened for 4.0, after all.

As for the actual changes since rc7 – the shortlog is appended – it’s mostly drivers, networking, perf tooling, and a set of nds32 fixes. With some random other stuff thrown in. Again, the shortlog is obviously only the last calm week, the overall changes since 4.16 are much too big to list in that format.

The big 4.17 stuff was mentioned in the rc1 email when the merge window closed, but I guess it’s worth repeating how 4.17 is actually a slightly smaller kernel than 4.16, thanks to the removal of a number of effectively dead architectures (blackfin, cris, frv, m32r, metag, mn10300, score, and tile). Obviously all the other changes are much more important, but it’s always nice to see spring cleaning like that.

…..

Linux Kernel 4.17 release highlights:

  • AMDGPU DC enabled by default for the new display code stack.
  • Intel Cannonlake graphics support enabled by default.
  • Improved AMDKFD support for pre-Vega discrete GPUs.
  • Clean up lots of code for obsolete CPU architectures
  • A significant power-savings improvement on some hardware
  • And many more other changes.

How to Install Linux Kernel 4.17 in Ubuntu:

A graphical tool UKUU makes it easy to install the latest Kernels in Ubuntu.

For those who don’t want to use any third-party tool, here’s how to manually download and install Kernel 4.17 in Ubuntu (tested in Ubuntu 18.04, though it should work on all current Ubuntu releases).

The mainline kernel PPA has made the new kernel binaries for Ubuntu, available for download at the link below:

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-4.17.0-xxxxxx_all.deb
  2. linux-modules-4.17.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-image-xxx-4.17.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

To get the Kernel 4.17 from the command console, run the commands below one by one:

For 64-bit OS:

cd /tmp/

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-headers-4.17.0-041700_4.17.0-041700.201806041953_all.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-modules-4.17.0-041700-generic_4.17.0-041700.201806041953_amd64.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-headers-4.17.0-041700-generic_4.17.0-041700.201806041953_amd64.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-image-unsigned-4.17.0-041700-generic_4.17.0-041700.201806041953_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-headers-4.17.0-041700_4.17.0-041700.201806041953_all.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-modules-4.17.0-041700-generic_4.17.0-041700.201806041953_i386.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-headers-4.17.0-041700-generic_4.17.0-041700.201806041953_i386.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17/linux-image-4.17.0-041700-generic_4.17.0-041700.201806041953_i386.deb

sudo dpkg -i *.deb

After installed these .debs, restart and enjoy!

Uninstall Linux Kernel 4.17:

Start/restart your machine and select boot with the previous kernel in ‘Grub2 -> Advanced Option for Ubuntu’. Then use Ubuntu Tweak, or run command to remove Linux Kernel 4.17.0:

sudo dpkg --purge linux-image-unsigned-4.17.0-041700-generic linux-image-4.17.0-041700-generic