Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nabil-hassan/5645ff51957c3abb99b5 to your computer and use it in GitHub Desktop.
Save nabil-hassan/5645ff51957c3abb99b5 to your computer and use it in GitHub Desktop.
Install Oracle Virtual Box On Fedora 20
# Run these commands in a terminal to install Oracle Virtual Box on Fedora 20
# n.b. this install requires a restart mid-way through
# Install Virtual Box Repository
su root
cd /etc/yum.repos.d/
wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
# Update packages and install dependencies & Virtual Box 4.3
yum update
yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms VirtualBox-4.3
# Restart the system
systemctl reboot
# Add your user to the new group ‘vbox users’ and rebuild kernel headers
su root
usermod -a -G vboxusers <username>
/etc/init.d/vboxdrv setup
# if vboxdrv setup fails, set KERN_DIR
export KERN_DIR=/usr/src/kernels/`uname -r`
/etc/init.d/vboxdrv setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment