Forum Stats

  • 3,826,253 Users
  • 2,260,615 Discussions


Getting Virtualbox Guest additions working with Oralce Linux 8

3025127 Member Posts: 2
edited May 18, 2019 12:42AM in Oracle Linux and UEK Preview

With excitement played around with Oracle Linux 8 work station. I had hard time get the Virtualbox guest addition to work.

Keep getting the error kernel-headers are missing even though kernel-headers are installed. So the error is misleading.

sudo -E dnf install kernel-headers

Last metadata expiration check: 0:00:31 ago on Fri 17 May 2019 07:28:54 PM EDT.

Package kernel-headers-4.18.0-32.el8.x86_64 is already installed.

Dependencies resolved.

Nothing to do.


Couple of key points. If you are behind proxy and use sudo command make sure use the -E option.

Install kernel-devel  &

sudo -E dnf install elfutils-libelf-devel

Rerun guest additions. Works like a charm.

Good luck