This question already has an answer here:
I have an installed Ubuntu version 16.04 running with Kernel version 4.4.0-64-generic
How can I upgrade the kernel to 4.10?
|
This question already has an answer here: I have an installed Ubuntu version 16.04 running with Kernel version 4.4.0-64-generic How can I upgrade the kernel to 4.10? |
|||
marked as duplicate by WinEunuuchs2Unix, Pilot6, karel, Eric Carvalho, Zanna Mar 30 '17 at 22:08This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. |
|||
|
Always remember that might be an issue between a specific software and the latest Linux-kernel, for example the VirtualBox might not work like it should on the newest Linux-Kernel. I suggest you to wait until the teams of the distros Ubuntu 16.04 include the Linux-kernel 4.10.x in the repositories or you can follow those two options: OPTION 1: You can download the Debian packages of 4.10.1 Linux-Kernel from Ubuntu trusted sources and install them with the risk of some software that may not work like it should since the programmer did not make it to work on the newest Linux-Kernel yet. OPTION 2: You can compiling it by yourself for using the latest of the latest version of Linux-Kernel for fun and learning. Downloading and Installing the Debian Packages for 4.10.1 Linux-Kernel:For 32bit ONLY.In Terminal:
Install the 4.10.1 Linux-Kernel:
Update GRUB:
Don't forget to install (to avoid any software error in the future) the "gcc" from synaptics according to the Linux-kernel x.xx version.
Now choose to boot your 4.10.1 Linux-kernel from GRUB menu. REMOVING THE 4.10.1 LINUX-KERNEL: Reboot to GRUB. Choose to boot from your previous Linux-Kernel. Execute and choose to remove: linux-headers-4.10.1-041001-generic_4.10.1-041001.201702260735_i386.deb linux-image-4.10.1-041001-generic_4.10.1-041001.201702260735_i386.deb For 64bit ONLY.In Terminal:
Install the 4.10.1 Linux-Kernel:
Update GRUB:
Don't forget to install (to avoid any software error in the future) the "gcc" from synaptics according to the Linux-kernel x.xx version
Now choose to boot your 4.10.1 Linux-kernel from GRUB menu. REMOVING THE 4.10.1 LINUX-KERNEL: Reboot to GRUB. Choose to boot from your previous Linux-Kernel. Execute and choose to remove: linux-headers-4.10.1-041001-generic_4.10.1-041001.201702260735_amd64.deb linux-image-4.10.1-041001-generic_4.10.1-041001.201702260735_amd64.deb Open a Terminal:
Compiling the newest Linux-Kernel for X86 architecture:0. Downloading the Free-Source-Code: Go to from https://www.kernel.org/ and choose the version of Linux-Kernel you wish Move the downloaded ".tar.xz" Linux-Kernel to a optional named folder anywere you like. Extract the ".tar.xz" Linux Kernel to the Desktop or anywhere you wish. Open a Terminal by pressing Ctrl+Alt+T:
1.INSTALLING THE NEEDED LIBRARIES:
2.KERNEL CONFIGURATION: In terminal:
Controls: Use the arrows Up,Down for the options. Use Enter OR Space to choose an option. Use Left,Right to Exit, Save, Help etc. Take your time to explore the options (or leave them as it is) and Save,Exit. 3.COMPILING THE LINUX-KERNEL:
(its-a-test is an example you can name it anything-you-like) Now wait until the compiling finish, it will take some time according to your cpu for example a core2quad will take around to 45 minutes. 4.INSTALLING THE NEW LINUX KERNEL: Install the two DEB packages that has been created into the extracted kernel folder it should be named something like linux-headers-x.xx.deb and linux-image-x.xx.deb. DO NOT DELETED THOSE TWO DEB'S FILES IF YOU WANT TO INSTALL THEM ON ANOTHER PC OR IF YOU WANT TO REMOVE YOUR TEST LINUX-KERNEL LATER.
5.UPDATING GRUB:
Don't forget to install (to avoid any software error in the future) the "gcc" from synaptics according to the kernel x.xx version.
Now choose to boot your test Linux-kernel from GRUB menu. Open a Terminal:
Congratulations! REMOVING YOUR TEST LINUX-KERNEL: Reboot to GRUB. Choose to boot from your previous Linux-Kernel Execute linux-headers-x.xx.deb and then the linux-image-x.xx.deb and choose to remove. Open a Terminal:
|
||||
|
|
linux-generic-hwe-16.04orlinux-generic-hwe-16.04-edge, read more here: wiki.ubuntu.com/Kernel/LTSEnablementStack and here: wiki.ubuntu.com/Kernel/RollingLTSEnablementStack – firepol Jul 24 '17 at 6:28