升级ubuntu linux kernel 和 ubuntu version 的办法

1. 升级 linux kernel


Step 1: #sudo apt-get update

Step 2: #apt-cache search linux-image

Note: after this command, we could see all the available kernel resources, saying: linux-image- 4.2.0-27-generic linux-image-extra- 4.2.0-27-generic

Step 3: #apt-cache search linux-headers

Note: with this command, we could see corresponding headers resource, saying: linux-headers- 4.2.0-27-generic

Step 4: #sudo apt-get install linux-image-4.2.0-27-generic linux-image-extra-4.2.0-27-generic linux-headers-4.2.0-27-generic

Note: be sure to install all the three updates. When linux-image-extra is not installed, some drivers may not be updated correctly, such as USB ;

Step 5: after installation, reboot

Step 6: after re-entering Ubuntu, check kernel with "uname -r" to find the kernel has been upgraded;



2. 升级 ubuntu version


Below are steps to upgrade your Ubuntu version, such as 14.04, to newest version (14.04.4).

Step 1: sudo apt-get update

Step 2: sudo apt-get dist-upgrade

Step 3: sudo reboot



你可能感兴趣的:(Linux,Programming)