红联Linux门户
Linux帮助

Linux内核4.2已经发布–附安装说明

发布时间:2015-09-02 10:06:18来源:imcn.me作者:imcn.me

Kernel 4.2 已经发布了,这是 Linus Torvalds 近期发布的最大的一个版本,增加了超过100万行代码,移除了大约25万行代码。主要新特性包括:新的AMDGPU驱动;Intel Broxton支持;改进NCQ TRIM处理;F2FS文件系统加密;重写了部分英特尔x86汇编代码;LSM Stacking;延迟梯度网络拥堵控制算法;改进控制组的回写管理等等。

Linux内核4.2已经发布–附安装说明


以下内容来自邮件列表:

So judging by how little happened this week, it wouldn’t have been a mistake to release 4.2 last week after all, but hey, there’s certainly a few fixes here, and it’s not like delaying 4.2 for a week should have caused any problems either.

So here it is, and the merge window for 4.3 is now open. I already have a few pending early pull requests, but as usual I’ll start processing them tomorrow and give the release some time to actually sit.


安装说明。

Ubuntu 系统用户安装,ubuntu 提供了 DEB 安装包,下载地址:kernel.ubuntu.com,你也可以使用以下命令安装。


32位用户:

下载安装包命令:

cd /tmp
wget
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200_4.2.0-040200.201508301530_all.deb
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200-generic_4.2.0-040200.201508301530_i386.deb
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-image-4.2.0-040200-generic_4.2.0-040200.201508301530_i386.deb


安装 Kernel:

sudo dpkg -i linux-headers-4.2*.deb linux-image-4.2*.deb


卸载 kernel:

sudo apt-get remove linux-header-4.2* linux-image-4.2*


64位用户:
下载安装包命令:

cd /tmp
wget
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200_4.2.0-040200.201508301530_all.deb
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-headers-4.2.0-040200-generic_4.2.0-040200.201508301530_amd64.deb
kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-unstable/linux-image-4.2.0-040200-generic_4.2.0-040200.201508301530_amd64.deb


安装 Kernel:

sudo dpkg -i linux-headers-4.2*.deb linux-image-4.2*.deb


卸载 kernel:

sudo apt-get remove linux-header-4.2* linux-image-4.2*


CentOS 7 用户安装

su root
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
yum install http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install kernel-ml
reboot


卸载 kernel 4.2

yum remove kernel-ml


Ubuntu 15.10内核更新Kernel 4.0.5:http://www.linuxdiyf.com/linux/12537.html

在Ubuntu 15.04系统下安装Linux Kernel 4.0内核的方法:http://www.linuxdiyf.com/linux/11519.html

如何在优麒麟(Ubuntu Kylin)上安装Linux内核4.0:http://www.linuxdiyf.com/linux/12261.html

64位ubuntu15.04升级Linux内核到linux4.1.0:http://www.linuxdiyf.com/linux/11805.html

如何在Ubuntu/CentOS上安装Linux内核4.0:http://www.linuxdiyf.com/linux/11520.html