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

The new Gartner Critical Capabilities report explains how APIs and microservices enable digital leaders to deliver better B2B, open banking and mobile projects.

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 new Gartner Critical Capabilities for Full Lifecycle API Management report shows how CA Technologies helps digital leaders with their B2B, open banking, and mobile initiatives. Get your copy from CA Technologies.

Topics:
kernel ,virtualbox ,oracle linux 6

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}