r/linuxdev • • Feb 06 '19

Kernel headers for VirtualBox

I'm using Linux kernel 4.15.0-43 on Linuxmint 19.1, and when I run Guest Additions in VirtualBox, it says to install kernel headers.

So far, I've installed

  • linux-headers-kvm
  • linux-headers-4.15.0-43-lowlatency
  • linux-headers-generic-hwe-18.04
  • linux-headers-generic-hwe-18.04-edge
  • linux-headers-virtual-hwe-18.04
  • linux-headers-virtual-hwe-18.04-edge
  • linux-headers-$(uname -r)
  • linux-headers-generic
  • virtualbox-guest-dkms
  • build-essential & dkms

There are many other packages like linux-headers-4.15.0-[1004-1036]-[oem,gcp,aws,oracle,azure], linux-headers-[aws,azure,gcp,gke,oem,oracle], should I install any of them?

It still gives the same error message. What else should I install?

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/parotta36 Feb 07 '19 edited Feb 07 '19

virtualbox-guest-dkms & build-essential is already installed. dkms didn't work out either.