Install VirtualBox 4.3.20 on Fedora 21 [How to]

Since it is free & includes wide variety of features, ‘VirtualBox‘ is my favorite virtualization software. For making the installation a breeze, ‘VirtualBox’ graciously provides repositories for few popular GNU/Linux distributions as well. But, it has been a couple of weeks already, a repository is yet to arrive for Fedora 21.

If you cannot wait till the repository arrives (which shouldn’t take that long, hopefully), there is always the option of manually installing it, which is also quite easy, though, it comes with a certain ‘penalty’, because you will have to check and install updates manually.

If that is not an issue for you, then please follow the below procedure to install it on Fedora 21.


Step 1: First go to this ‘VirtualBox’ download page and under ‘All distributions’, download the ‘VirtualBox……’ file. If you use Fedora 21 32-bit edition, then click on the ‘i386’ link. If you use the 64-bit (like me), then click on the ‘AMD64’ link.

Step 2: Before we can install ‘VirtualBox’ we need to install three prerequisites (‘dependencies’). So once the download finishes, open the Terminal window and enter the below command to install them:

sudo yum install kernel-devel kernel-headers gcc

Step 3: The name of the ‘VirtualBox’ setup that I downloaded was called ‘’, and it was saved in the ‘Downloads’ folder on my ‘Home’.

So to install it I will use the below command:

sudo sh Downloads/

If you had saved it into a different location and it had a different name (because it gets changed with each new release), remember to replace ‘Downloads/‘ section with yours.


The rest is pretty much automatic. If everything goes according to the plan, as shown above, you will get a ‘VirtualBox has been installed successfully’ message. That’s it, good luck.

An RHCE, 'Linux' user with 14+ years of experience. Extreme lover of Linux and FOSS. He is passionate to test every Linux distribution & compare with the previous release to write in-depth articles to help the FOSS community.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.