Linux 3.4 內核已經發布,可能有很多Ubuntu用也想升級到這個內核版本,我已經進行了升級,是直接下載DEB包進行升級的,今天我要說的是另一種升級方式,使用軟件源。
首先在終端運行下面的命令來打開源文件進行編輯:
sudo gedit /etc/apt/sources.list
然後加入一下面源地址:
# Ubuntu Quantal Quetzal Repositories
deb http://security.ubuntu.com/ubuntu quantal-security main universe restricted multiverse
deb-src http://security.ubuntu.com/ubuntu quantal-security main universe restricted multiverse
deb http://it.archive.ubuntu.com/ubuntu/ quantal-updates main universe restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ quantal-updates main universe restricted multiverse
deb http://it.archive.ubuntu.com/ubuntu/ quantal main universe restricted multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ quantal main universe restricted multiverse
保存文件,然後使用下面的命令更新源:
sudo apt-get update
安裝最新內核:
sudo apt-get install linux
如果你的內存4G或以上,使用下面的命令安裝 PAE 內核:
sudo apt-get install linux-generic-pae
警告:升級有風險!
更多Ubuntu相關信息見Ubuntu 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=2