Linux Kernel 4.7发布于2016年7月24日。
Linux Torvalds的发布记录:https://lkml.org/lkml/2016/7/24/151
Ubuntu 16.04 安装Linux 4.7内核:
1.查看当前内核版本
$ uname -r
4.4.0-31-generic
2.下载4.7内核deb包(64位系统)
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700_4.7.0-040700.201607241632_all.deb
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-headers-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb
$ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7/linux-image-4.7.0-040700-generic_4.7.0-040700.201607241632_amd64.deb
3.安装内核
$ sudo dpkg -i *.deb
4.更新Grub
$ sudo update-grub
5.重启
$ uname -r
4.7.0-040700-generic
6.要删除新内核执行:
$ sudo apt-get remove linux-headers-4.7* linux-image-4.7*
CentOS 7安装Linux 4.7内核:
1.查看当前内核版本
2.添加ELRepo源
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
yum install yum-plugin-fastestmirror
3.安装最新的内核
yum --enablerepo=elrepo-kernel install kernel-ml
4.重启
5.要删除新内核执行:
yum remove kernel-ml