在Ubuntu,Linux Mint及其他衍生版上安裝Kernel 4.15 RC5
介紹下如何在Ubuntu,Linux Mint, Elementary OS和其他Ubuntu衍生版上安裝Kernel 4.15 RC5。
安裝說明:
由於編譯Linux核心非常困難,Canonical已經將所有核心版本打包為deb軟體包,並通過其kernel.ubuntu.com存放庫將它們提供給使用Ubuntu或基於Ubuntu的系統的所有人。
以下命令適用於所有Ubuntu,Linux Mint,Elementary OS和其他Ubuntu衍生系統。
對於32位系統,請下載並安裝i386 debs。 對於64位系統,請下載並安裝amd64軟體包:
如何在32位Ubuntu和派生系統上安裝Kernel 4.15.x:
下載所需的軟體包:
$ cd /tmp
$ wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc5/linux-headers-4.15.0-041500rc5_4.15.0-041500rc5.201712240530_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc5/linux-headers-4.15.0-041500rc5-generic_4.15.0-041500rc5.201712240530_i386.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc5/linux-image-4.15.0-041500rc5-generic_4.15.0-041500rc5.201712240530_i386.deb
安裝核心:
$ sudo dpkg -i linux-headers-4.15*.deb linux-image-4.15*.deb
可選,刪除核心:
$ sudo apt-get remove linux-headers-4.15* linux-image-4.15*
如何在64位Ubuntu和派生系統上安裝Kernel 4.15.x:
下載所需的軟體包:
$ cd /tmp
$ wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc5/linux-headers-4.15.0-041500rc5_4.15.0-041500rc5.201712240530_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc5/linux-headers-4.15.0-041500rc5-generic_4.15.0-041500rc5.201712240530_amd64.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.15-rc5/linux-image-4.15.0-041500rc5-generic_4.15.0-041500rc5.201712240530_amd64.deb
安裝核心:
$ sudo dpkg -i linux-headers-4.15*.deb linux-image-4.15*.deb
可選,刪除核心:
$ sudo apt-get remove linux-headers-4.15* linux-image-4.15*
輸入dpkg --get-selections |grep linux-看看核心版本:
bkjia@bkjia:~$ dpkg --get-selections |grep linux-
linux-headers-4.15.0-041500rc5 install
linux-headers-4.15.0-041500rc5-generic install
linux-headers-4.15.0-041500rc5-lowlatency install
相關:Linus Torvalds在聖誕節發布Linux Kernel 4.15 RC5