A Bridge to the Cloud...

VirtualBox guest addition RPMs for Oracle Linux UEK4 kernel!

Simon Coter
Senior Manager, Oracle Linux and Virtualization 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 ( 5 )
  • 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.
  • Chris Peck Wednesday, May 15, 2019
    I am attempting this today for version 4.14.35-1844.4.5.2.el7uek.x86_64 and the repo appears to be 'broke':
    sudo yum -y install oraclelinux-developer-release-el7
    oraclelinux-developer-release-el7.x86_64 0:1.0-2.el7

    sudo yum update
    Loaded plugins: ulninfo
    ol7_developer | 1.2 kB 00:00:00
    ol7_developer/x86_64/primary FAILED
    https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum0 B/s | 0 B 00:00:00
    Trying other mirror.
    ol7_developer/x86_64/updateinf FAILED 0.0 B/s | 0 B 00:00:00
    https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/repodata/updateinfo.xml.gz: [Errno -1] Metadata file does not match checksum/s | 0 B 00:00:00
    Trying other mirror.
    ol7_developer/x86_64/primary | 261 kB 00:00:00
    https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
    Trying other mirror.

    One of the configured repositories failed (Oracle Linux 7Server Development Packages (x86_64)),
    and yum doesn't have enough cached data to continue. At this point the only
    safe thing yum can do is fail. There are a few ways to work "fix" this:

    Anyone else having this issue?
  • Simon Thursday, May 16, 2019
    Hi Chris,

    unfortunately it's a known issue we're seeing on yum.oracle.com and we're working to get it fixed as soon as possible.

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.