How to install or upgrade the Linux kernel to 4.2 in Ubuntu

Source: Internet
Author: User

How to install or upgrade the Linux kernel to 4.2 in Ubuntu

The Linux kernel 4.2 has been released. Linus Torvalds writes on lkml.org:

With such a small change this week, it seems that there should be no problem to release version 4.2 in the last week. Of course there are still several amendments, but it does not seem to require a week delay. So this is now, and the merge window of 4.3 is now open. I already have several merge requests waiting for processing. I will start to process them tomorrow and release them as appropriate. The short log from rc8 is small and has been attached. This patch is also small...

 

What are the improvements to the new kernel 4.2? :
  • Rewrite intel x86 assembly code
  • Support for new ARM boards and SoC
  • Encrypt F2FS per-file
  • AMDGPU kernel DRM driver
  • Support for Radeon DRM-driven VCE1 Video Encoding
  • Preliminary support for Intel's Broxton Atom SoC
  • Supports ARCv2 and HS38 CPU Cores
  • Added support for queue spin locks
  • Many other improvements and drive updates.

 

How to download the 4.2 kernel in Ubuntu:

The download link of the Binary Package of this kernel version is as follows:

  • Download the 4.2 kernel (. DEB)

First check your operating system type, 32-bit (i386) or 64-bit (amd64), and then download and install the software package in the following ways:

  1. Linux-headers-4.2.0-xxx_all.deb
  2. Linux-headers-4.2.0-xxx-generic_xxx_i386/amd64.deb
  3. Linux-image-4.2.0-xxx-generic_xxx_i386/amd64.deb

After the kernel is installed, run it on the terminal (Ctrl + Alt + T)sudo update-grubCommand to update grub boot-loader.

If you need a low-latency system (for example, for recording audio), download and install the following package:

  1. Linux-headers-4.2.0_xxx_all.deb
  2. Linux-headers-4.2.0-xxx-lowlatency_xxx_i386/amd64.deb
  3. Linux-image-4.2.0-xxx-lowlatency_xxx_i386/amd64.deb

For Ubuntu servers without graphic user interfaces, you can run the following command to capture and download them one by one through wget and install them through dpkg:

For 64-bit systems, run:

  1. cd /tmp/
  2. wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200_4.2.0-040200.201508301530_all.deb
  3. wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200-generic_4.2.0-040200.201508301530_amd64.deb
  4. wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-image-4.2.0-040200-generic_4.2.0-040200.201508301530_amd64.deb
  5. sudo dpkg -i linux-headers-4.2.0-*.deb linux-image-4.2.0-*.deb

For 32-bit systems, run:

  1. cd /tmp/
  2. wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200_4.2.0-040200.201508301530_all.deb
  3. wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200-generic_4.2.0-040200.201508301530_i386.deb
  4. wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-image-4.2.0-040200-generic_4.2.0-040200.201508301530_i386.deb
  5. sudo dpkg -i linux-headers-4.2.0-*.deb linux-image-4.2.0-*.deb

Finally, restart the computer to take effect.

To restore or delete the old kernel, see install the kernel using scripts.

How to install Kernel 4.0.2 on CentOS 7

How to install Linux Kernel 4.0 on CentOS 7

How to install Linux kernel 4.0 on Ubuntu/CentOS?

How to install Linux kernel 13.10 On Ubuntu 3.12

How to install the 3.16.7 CKT2 kernel in Ubuntu 14.10, Ubuntu 14.04, and its derivative versions

Linux Kernel: click here
Linux Kernel: click here

Via: http://ubuntuhandbook.org/index.php/2015/08/upgrade-kernel-4-2-ubuntu/

Author: Ji m Translator: strugglingyouth Proofreader: wxy

This article was originally compiled by LCTT and launched with the honor of Linux in China

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.