|
I want to install the latest Linux kernel it? A simple script that you can easily get the job done in the Ubuntu system.
Michael Murphy wrote a script for the latest candidate Edition, Standard Edition, or low latency version of the kernel installed Ubuntu system. This script page download and install the latest Linux kernel package from the Ubuntu mainline kernel after asking some questions.
Install script to upgrade the Linux kernel:
Click on the github top right corner of the page "Download Zip" to download the script.
Right-click the Zip file download directory, select "in this deployment" to decompress it.
Right-click the file after extracting the folder, choose "Open in Terminal" folder to this file.
This opens a terminal, and automatically navigate to the target folder. If you can not find the "Open in Terminal" option, in the Ubuntu Software Center, search for installation nautilus-open-terminal, and then log back on to the system (to be re-run nautilus -q in a terminal to log in again to replace the operating system) .
4. When entering the terminal, run the following command to give the script to perform this operation permission.
chmod + x *
Finally, whenever you want to install or upgrade Ubuntu linux kernel can run this script.
./*
The reason here * for the name of the script because it is only a folder file.
If the script runs successfully, restart the computer.
Restore and uninstall the new version of the kernel
If for some reason you want to recover and remove the new kernel, restart the computer, select the legacy kernel under the Advanced Options menu Grub starter to start the system.
When the system starts, with reference to the lower section to continue.
How do you remove the old (or new) kernel:
Synaptic Package Manager to install from the Ubuntu Software Center.
Open the Synaptic Package Manager and then do the following:
Click the Reload button, so you want to be removed in the new kernel is displayed.
Select Status in the left panel -> Installed, make clearer some of the check list.
In the Quick filter box, enter linux-image- queries.
Choose a kernel image "linux-image-x.xx.xx-generic" and then mark it as removal (or Complete Removal)
Finally, changed
Repeat until you do not remove all the kernel. Be careful not to arbitrarily remove the kernel now running, you can view the running kernel by uname -r command.
For Ubuntu server, you can step by step, run the following command:
uname-r
dpkg -l | grep linux-image-
sudoapt-get autoremove KERNEL_IMAGE_NAME |
|
|
|