How To Install Linux Kernel 3.14 In Ubuntu

June 11, 2014 | By
| Reply More

In this article you will learn how to install the recently released Linux kernel 3.14 on your Ubuntu machine. The new kernel has several improvements including more drivers support. To upgrade to kernel 3.14 Ubuntu users can download the kernel deb files from here. Alternatively you can download the source code from here if you want to compile it yourself. Compiling the source code has the advantage that you can fine tune the kernel to your needs but for most users, it is not necessary. It will take a lot of time you may end up with rendering your system unbootable.

There are two major versions of the kernel:

  1. The generic kernel
  2. The low latency kernel.

If you are using Ubuntu Studio it is advisable to download the low latency version. However, the generic kernel would still work but some applications' performance would be affected.
Note: If your machine is 32 bit, download the i386 files. If it is 64 bit download the amd64 files.

64 Bit, Low Latency Kernel Installation

In this example the installation is the low latency kernel version on a 64 bit machine. There are three files that are required for the installation.

The two Kernel headers, one for all architectures and the other for the 64 bit low latency version and finally the kernel image.

The Kernel headers for all architectures is used in case of a 64 bit or 32 bit install and also for both the generic and low latency kernel types.

Pre-installation

Before beginning installation, check the kernel version of you have. You can this by using the uname command. Combine the options -m ,-r and -s to view the kernel details in a more comprehensive way.

$ uname -mrs

uname: Kernel 3.8

Installation

Place all your deb files in one folder. Use the ls command to ensure you have the correct files in the current folder.

$ ls

3.14 deb files
To install the files use the dpkg package manager with the option --install or -i.

$ sudo dpkg -i linux-headers-3.14* linux-image-3.14.0-013400-lowlatency_3.14.0-031400.201403310035_amd64 .deb

Hint: You can use the Tab key to auto complete long file names on your terminal.
dpkg installation
This will automatically install the new kernel. It will also update your bootloader with the new kernel.
sample output

Post-installation

After this process is done reboot your machine to use the newly installed kernel. To confirm whether the changes took effect, use the uname command as follows:

$ uname -mrs

uname: Kernel 3.14
This installation method does not replace your kernel but installs a newer version and you can always use your older kernel by rebooting the computer and selecting the kernel version you want from the bootloader menu.

Update GRUB Manually

If the new kernel is not reflected on the bootloder menu, then you can still update GRUB manually. This is step is not necessary unless the changes have not been reflected on the bootloader menu for a couple of reasons.

$ sudo update-grub

update grub
After successfully running all these steps you may now use your kernel 3.14 and enjoy new features and various fixes.

Filed Under : LINUX HOWTO, UBUNTU HOWTO

Free Linux Ebook to Download

Leave a Reply

Commenting Policy:
Promotion of your products ? Comment gets deleted.
All comments are subject to moderation.