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

Learn how API management supports better integration in Achieving Enterprise Agility with Microservices and API Management, brought to you in partnership with 3scale

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).

Unleash the power of your APIs with future-proof API management - Create your account and start your free trial today, brought to you in partnership with 3scale.

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.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}