1. $sudo yum update
Please reboot the system if you have just installed a new kernel.
Pre-Installation Setup
Before installing VirtualBox Linux Guest Additions, you need to install gcc, dkms and kernel development module. Use the following command:
2. $sudo yum install gcc kernel-devel dkms
Next you need to mount the Linux Guest Additions Image Disc. Under the VirtualBox menu bar, select Devices >> Install Guest Additions...
Click cancel if they ask if you want to run the disc image.
Install Linux Guest Additions
Once the disc image is mounted, use the following command (case sensitive):
3. $cd /run/media/$USER/VBOXADDITIONS*
4. $sudo ./VBoxLinuxAdditions.run
