Technical articles, news, and insights
for Oracle's Infrastructure Software offerings

VirtualBox guest addition RPMs for Oracle Linux UEK4 kernel!

By: Simon Coter | Director of Product Management

As you can see from this article from Wim Coekaerts, VirtualBox guest-additions for Oracle Linux are now available as RPMs. This kind of feature grant the best experience possible while building development environment on top of VirtualBox: no need to install kernel-devel, compilers or any other dev package on your machine to get guest-additions installed and available: just install those rpms, available for Oracle Linux 6 and Oracle Linux 7:

"kmod-vboxguest-uek4" RPM contains the VirtualBox guest-additions kernel-modules for OL UEK4 while "vboxguest-tools" contains the complete user-space stuff (binaries, libraries and so on).

To get those RPMs installed, proceed with the following steps:

  • Enabled "ol7_developer" Yum repository:

  • Verify that your VirtualBox virtual machine is using UEK4 kernel (you can also change your default for the next reboot)

  • By Yum, install both RPMs on the Oracle Linux 6/7 virtual machine

  • After a reboot, or with a proper module-load, you can verify:
    • VirtualBox Kernel modules have been loaded
    • VirtualBox Kernel modules version
    • Play with VirtualBox shared-folders to verify it works

Obviously, those RPMs will perfectly work even if you upgrade your UEK4 kernel (kmod); same modules will be available (and always granted) also on future releases of UEK4 kernel:

I think that this could be last article for the 2017.....so, let me wish you an happy new year to everyone!


Join the discussion

Comments ( 3 )
  • Alexey Petrenko Monday, May 14, 2018
    BTW, if you don't want to permanently enable the ol7_developer repo you can install the rpm like this:
    yum --enablerepo=ol7_developer install kmod-vboxguest-uek4
  • Simon Monday, May 14, 2018
    Hi Alexey,

    that's true but with this option you won't have it automatically updated (by "yum update") once an updated release is available.

  • Peter Kehl Saturday, June 23, 2018

    Thank you.

    1. For users new to Yast: Enable that Yast repository by editing /etc/yum.repos.d/public-yum-ol7.repo.

    2. These exact steps work for Oracle 7.5. Beware: Oracle 7.5 offers guest tools for both unbreakable kernel 4 and 5: kmod-vboxguest-uek4.x86_64 and kmod-vboxguest-uek5.x86_64. However, only kmod-vboxguest-uek4.x86_64 installs (and works) well.

    Hence, run sudo yum install vboxguest-tools.x86_64 kmod-vboxguest-uek4.x86_64 for Oracle 7.5, too.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha

Integrated Cloud Applications & Platform Services