I'm looking at the official repo, https://github.com/torvalds/linux - how would I replace the ubuntu 15.04 kernel (3.x) with the latest, 4.x one? My current system has the x86_64
architecture.
Asked
Active
Viewed 8,327 times
1

Gabor
- 268
2 Answers
1
Go here: http://kernel.ubuntu.com/~kernel-ppa/mainline/ Scroll to the bottom Download 3 (maybe 4) debs to a folder somewhere:
linux-headers-VERSION-NUMBER_all.deb
linux-headers-VERSION-NUMBER_amd64.deb
linux-image-VERSION-NUMBER_amd64.deb
linux-image-extra-VERSION-NUMBER_amd64.deb # if available
Install the debs with whatever package manager front-end you use (is gdebi still around?), or use these commands:
cd /path/to/folder/where/you/put/the/debs
sudo dpkg -i *.deb

Mark Kirby
- 18,529
- 19
- 78
- 114
1
Download the kernals:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-image-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb
Install using:
sudo dpkg -i linux-headers-4.0.0*.deb linux-image-4.0.0*.deb
Note: Canonical does not recommend updating your kernal via this method, yet. Some hardware components may not work properly.

Ron
- 20,638
-
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000_4.0.0-040000.201504121935_all.deb
is needed to fix the missing dependency error – Gabor May 08 '15 at 15:41
-rcδ
, they're, like, pre-release kernels for testing. – Hi-Angel Jun 13 '17 at 08:35