- sudo apt-get install git-core libncurses5 libncurses5-dev libelf-dev asciidoc binutils-dev linux-source qt3-dev-tools libqt3-mt-dev libncurses5 libncurses5-dev fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge kernel-package
- wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.8.4.tar.xz
- xz -d linux-3.8.4.tar.xz
- tar xvf linux-3.8.4.tar
- cd linux-3.8.4/
- cp -vi /boot/config-3.5.0-26-generic .config
- make oldconfig
- make localmodconfig
- make menuconfig
- make -jN(N最大是你的机器CPU线程数)
- sudo make modules_install
- sudo make install
参考:http://mitchtech.net/compile-linux-kernel-on-ubuntu-12-04-lts-detailed/
刚编译完3.8.4,3.8.5出来了...
微信扫描下方的二维码阅读本文