Installing VirtualBox Guest Additions for a CentOS Guest

The steps to prepare a CentOS guest for installing the VirtualBox Guest Additions are outlined here, but since it references a few other pre-req steps, here’s a list of all the steps I took to get all the dependencies installed before you can install the Guest Additions:

Install yum-priorities (

yum install yum-priorities

Install RPMForge (



rpm --import

rpm -i rpmforge-release-0.5.2-2.el6.rf.*.rpm

Install dkms:

yum --enablerepo rpmforge install dkms

Install dev tools and kernel development:

yum groupinstall "Development Tools"
yum install kernel-devel