Monday, 13 November 2017

How to Install Linux Kernel 4.14 on Ubuntu, Linux Mint

Linux kernel is the essential part of any Linux operating system. It is responsible for resource allocation, low-level hardware interfaces, security, simple communications, basic file system management, and more. Written from scratch by Linus Torvalds.



  Linus Torvalds announced that:

    No surprises this week, although it is probably worth pointing out how the 0day robot has been getting even better (it was very useful before, but Fengguang has been working on making it even better, and reporting the problems it has found).
    Sure, some of the new reports turned out to be just 0day doing things that just don’t work (ie KASAN with old gcc versions, but also doing things like loading old ISA drivers in situations that just don’t make sense – remember when you couldn’t even ask if the hardware existed or not, and just had to know), but even then it’s been all good.

    The appended shortlog is obviously only for the (small) haul since rc8, and it really is tiny. Not very many commits, and they are small. The biggest thing that stands out in the diffstat is the “leaking_addresses” perl script, which is actually under active development, but I put the first version in for 4.14 just so that people could see that initial state and start looking at the end result and perhaps ask themselves “should my code make these kernel addresses visible to user space”.

Installation instructions:

Because it is very difficult to compile a Linux kernel, Canonical has packed all the kernel releases as deb packages and made them available for everybody that uses Ubuntu or Ubuntu-based systems, via its kernel.ubuntu.com repository.

How to install Kernel 4.14 on 32 bit Ubuntu and derivative systems:

Download the needed packages:

$ cd /tmp

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400_4.14.0-041400.201711122031_all.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400-generic_4.14.0-041400.201711122031_i386.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-image-4.14.0-041400-generic_4.14.0-041400.201711122031_i386.deb

Install the Kernel:

$ sudo dpkg -i linux-headers-4.14*.deb linux-image-4.14*.deb

$ sudo reboot

How to install Kernel 4.14 on 64 bit Ubuntu and derivative systems:
Download the needed packages:

Download the needed packages:

$ cd /tmp
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400_4.14.0-041400.201711122031_all.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-headers-4.14.0-041400-generic_4.14.0-041400.201711122031_amd64.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14/linux-image-4.14.0-041400-generic_4.14.0-041400.201711122031_amd64.deb

Install the Kernel:

$ sudo dpkg -i linux-headers-4.14*.deb linux-image-4.14*.deb

$ sudo reboot

Check Kernel version:

$ uname -r

Optional, remove the kernel:

$ sudo apt-get remove linux-headers-4.14* linux-image-4.14*
   

Harry

Author & Editor

A technology enthusiast and addictive blogger who likes to hacking tricks and wish to be the best White Hacket Hacker of the World.

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.