How to install VirtualBox on Fedora 20

For the past few days I am trying to setup Vagrant for uniform development environment in our company, personall I work on Windows 8.1, iMac, Fedora for development and our servers are running CentOS. It is pain I know.

Last weekend I installed and understood Vagrant on windows 8.1, it was great. I will not get into the details on setup here. You can check the documentation on their website.

Today I cloned my Vagrant box, which I want to duplicate on my fedora machine. So for that I need to install VirtualBox first on Fedora 20. It is not as simple as yum install VirtualBox, it requires some effort. Here are the steps.

Step 1: Add the VirtualBox .repo

  1. su -
  2. cd /etc/yum.repos.d/
  3. wget <a href="http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
  4. [/geshifilter-code">http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
  5. [/…</a>]
  6.  
  7. <strong>Step 2: Update your system</strong>
  8.  
  9. [geshifilter-code]
  10. sudo yum update

Step 3: Install the required packages

  1. yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms

Step 4: Install VirtualBox

  1. sudo yum install VirtualBox-4.3

Step 5: Build modules

  1. /etc/init.d/vboxdrv setup

Step 6: Add the user in vboxusers group

  1. sudo usermod -a -G vboxusers YOUR_USERNAME

Installation complete. Now I will install Vagrant on Fedora 20. Have fun.

Add new comment

Want to contact me?

Life begins outside your comfort zone and that is where your courage is developed". Write to me by filling this form. For living I am an Atlassian Consultant who love both Jira and Drupal. I am the author of "Mastering JIRA" and "Mastering JIRA 7" books. I Love both JIRA and Drupal (a bit more). You can Write To Me and I will get back to you as soon as I can. Have a nice day!

Social Links

Subscribe to my mailing list.

Enter your email address: