Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Installing Kernel Headers for Oracle Linux 6 on VirtualBox

DZone's Guide to

Installing Kernel Headers for Oracle Linux 6 on VirtualBox

This brief how-to gives you a quick tip you can use for installing Oracle Linux 6 kernel headers on VirtualBox.

· Integration Zone
Free Resource

Modernize your application architectures with microservices and APIs with best practices from this free virtual summit series. Brought to you in partnership with CA Technologies.

The usual reason for Guest Additions failing to install on a Linux guest on Virtual Box is that the kernel headers are missing. How you install these or where they come from varies from distro to distro, although they're usually available via the package manager on that distro.

I had an Oracle Linux 6 guest installed, Guest Additions (for video drivers, shared folder, clipboard sharing) was all working, and then at some point I started it up again and it was no longer working and wouldn't re-install either. Seems like I'd picked up an update, and I needed to update the kernel headers too.

This post covers the steps needed. On OE6 before installing the Guest Additions, just run 'yum install kernel-uek-devel' and you should be good to go (assuming you’re booting with the 'unbreakable kernel' and not the RHEL compatible kernel).

The Integration Zone is proudly sponsored by CA Technologies. Learn from expert microservices and API presentations at the Modernizing Application Architectures Virtual Summit Series.

Topics:
kernel ,virtualbox ,oracle linux 6

Published at DZone with permission of Kevin Hooke, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}