Ubuntu 12.04/11.10 用户如何安装最新的 Linux 3.4 内核


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.bkjia.com/topicnews.aspx?tid=2

相关内容