So last night I had to upgate to VirtualBox 5 due to installing the new MAC os. After installing VirtualBox 5 I wanted to setup my guest linux which I like to use CentOS 7.

I did the basic install of CentOS7 but then wanted to add the VirtualBox Guest Additions but I was getting so many errors trying to get the Virtual Box Guest Additions to install.

After doing some research and playing around I found all the packages that you need to have installed on CentOS7 before trying to install the VirtualBox Guest Addition.

In this post I am going to show you a quick and easy way to install everything you need.

Just run the following commands:

sudo yum install kernel-devel-3.10.0-327.el7.x86_64
sudo yum install kernel-devel
sudo yum install gcc*
sudo yum install epel-release

Now that we have everything we need to do the VirtualBox Guest install you should not have any issues..

If you have any questions or comments please email me at


30 April 2016