1

I need the linux-headers for ubuntu mate 16.04 on a Raspberry Pi 3. It appears that the kernel is 4.1.19v7+ and I can only find linux-headers for 4.4 and higher. I think that the kernel is actually the same as used in Raspian but I still cannot find them. Where can I get them?

1 Answers1

0

If you don't have any manually installed drivers like nvidia or wifi drivers, then you can run the following command to update your kernel and headers to the newest version:

sudo apt update
sudo apt install linux-generic

The package linux-generic is a "meta package" which means that the package is only a group of dependency packages. This meta package has the dependencies of the latest kernel version. When you perform an upgrade, this package will install the latest version of both the kernel and the kernel header automatically.

To upgrade (update) your kernel version in the future, you will need to run sudo apt dist-upgrade or sudo apt full upgrade (both of these commands do the same thing) because sudo apt upgrade will not upgrade your kernel.

If you do have manually installed drivers, you will need to reinstall the drivers after you upgrade the kernel.


I found this package using the following command:

apt-cache search linux-generic | grep linux-generic

For more info, run the following command:

apt-cache show linux-generic
mchid
  • 44,904
  • 8
  • 102
  • 162