TUTORIALS 》 How to upgrade or install a latest current release Linux Kernel version manually in Ubuntu?

Linux Kernel developers release frequent monthly kernel versions. If you use Linux distribution such as Ubuntu, we need upgrade kernel version for fix security bugs after Linux kernel developers recently released the same. So, in this article you will learning about this. How to install latest version Linux Kernel in Ubuntu?

First we should be aware of release Linux kernel version, hence check the same in the main Linux Kernel website: www.kernel.org. Here we can see the recent stable kernel version(s). In this case as you can see in the below screenshot it is Linux Kernel version 4.14.11.
Latest stable Linux Kernel version 4.14.11

We have now two ways to do the same:

  1. download current kernel source code, compile the source and install the kernel (compiled binaries) to your machine
  2. we can directly install .deb files of a kernel which is pre-compiled

In this article I am going to discuss the second method:
You need latest version code of kernel compiled or built with different architecture. This is a mainline of Ubuntu where we can see all versions of Linux kernel compiled/pre-built .deb files: http://kernel.ubuntu.com/~kernel-ppa/mainline/.

So let us take current kernel version of Linux which is 4.14.11. You should use this link for get kernel version 4.14.11 with format: http://kernel.ubuntu.com/~kernel-ppa/mainline/v<linux_kernel_version>.

So for Linux kernel version 4.14.11 it is: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14.11
1 Linux Kernel v4.14.11 mainline build

We can now download linux-headers from here:
2 download kernel ubuntu kernel-ppa mainline linux-headers-4.14.11

and download linux-image from here:
3 download kernel ubuntu kernel-ppa mainline linux-image-4.14.11

Now we have two .deb files we can now install the same. First install linux-headers .deb file followed by linux-image .deb file as shown below.

[email protected]:~# dpkg -i linux-headers-4.14.11-041411_4.14.11-041411.201801022143_all.deb
[email protected]:~# dpkg -i linux-image-4.14.11-041411-generic_4.14.11-041411.201801022143_amd64.deb

Now we can check if they are successfully installed as shown below:
4 verify linux-image
5 verify linux-headers

NOTE: if you want you can remove old kernel versions with dpkg command.

Now to boot into your newly installed kernel, kindly reboot your system and in grub under the advance option for Ubuntu navigate via arrow keys and choose/select kernel version 4.14.11 and press enter to boot into the same. The system should load successfully newly installed Linux Kernel version 4.14.11. You can verify the same with uname command as shown below:
6 verify booted kernel via uname -r and uname -a

Featured Video:

Suggested Topics:

☆ Tutorials :: Arduino UNO Projects ↗

☆ Tutorials :: Network Software Development ↗

☆ Tutorials :: Research and Projects ↗

☆ Tutorials :: Linux (user-space), Systems Architecture ↗

☆ Tutorials :: Linux Kernel Software Development ↗

☆ Tutorials :: Linux Kernel Internals (PDFs) - by Ramin Farajpour ↗

☆ Tutorials :: Software Development (Programming) Tools ↗

☆ Tutorials :: Embedded Projects ↗

Join The Linux Channel :: Facebook Group ↗

Visit The Linux Channel :: on Youtube ↗

Join a course:

💎 Linux, Kernel, Networking and Device Drivers: PDF Brochure
💎 PhD or equivalent (or Post Doctoral) looking for assistance: Details
💎 ... or unlimited life-time mentorship: Details

💗 Help shape the future: Sponsor/Donate

Recommended Topics:
Featured Video:
Watch on Youtube - [8198//0] 0x16d NAS OS - FreeNAS vs UnRAID vs Rockstor vs OpenMediaVault vs Ubuntu Server and my DIY NAS bare-metal build ↗

Compiling a C Compiler with a C Compilter | Compile gcc with gcc ↗
Thursday' 09-Jul-2020
The fundamental aspect of a programming language compiler is to translate code written from language to other. But most commonly compilers will compile code written in high-level human friendly language such as C, C++, Java, etc. to native CPU architecture specific (machine understandable) binary code which is nothing but sequence of CPU instructions. Hence if we see that way we should able to compile gcc Compiler source code with a gcc Compiler binary.

AT&T Archives: The UNIX Operating System ↗
Thursday' 09-Jul-2020

CEO, CTO Talk ↗
Thursday' 09-Jul-2020

Arduino UNO - RO Water Purifier Controller ↗
Thursday' 09-Jul-2020
Here is a Youtube VLOG of my DIY RO Water Purifier Controller done via Arduino UNO. I want the Arduino UNO to control the RO pump, so that it pumps for a specific duration and stops automatically. This is done via Opto-isolated 4 Channel 5V 10A Relay Board meant for Arduino UNO, Raspberry Pi or similar SoC boards which offers GPIO pins. To this relay I have connected the RO water purifier booster pump which works at 24V DC connected via 220V AC to 24V DC power supply adaptar. I have also connected a small active 5V buzzer to notify the progress and completion as it fills the tank/canister.

Programming Language Performance and Overheads ↗
Thursday' 09-Jul-2020
A detailed Youtube video series of various programming language performance and overheads - a big picture

mmap() munmap() - map or unmap files or devices into memory ↗
Thursday' 09-Jul-2020

Telnet installation and remote access ↗
Thursday' 09-Jul-2020

Nmap Network Scanning ↗
Thursday' 09-Jul-2020

Apache web-server installation ↗
Thursday' 09-Jul-2020

CYRIL ING√ČNIERIE - CoreFreq Linux CPU monitoring software ↗
Thursday' 09-Jul-2020

Trending Video:
Watch on Youtube - [473//0] 0x1cd My Raspberry Pi Private Cloud NAS Server | Workflow & VLOG #TheLinuxChannel #KiranKankipati ↗

Linux Kernel Network stack and architecture ↗
Thursday' 09-Jul-2020

Recommended Video:
Watch on Youtube - [4121//0] 295 - VRF - Virtual Routing and Forwarding - VLANs and VRFs ↗