Install Oracle VirtualBox on Fedora 16 / Fedora 17

Update (16 Jan 2013):

Hi! Fedora 18 is here, for installing VirtualBox on Fedora 18 check out this post Install VirtualBox on Fedora 18.

You might also want to check the following:
Fedora 18 Post Installation Software Configuration Guide

Install Oracle VirtualBox on Fedora 16 / Fedora 17

This installation procedure has been tested for Fedora 15, Fedora 16 and Fedora 17. If you had follow my post before and confident with my script, you can scroll down to the bottom of the post and download the script. The script will automatically download, configure and install VirtualBox.

Manual Procedure

First, you need to download the repository file from:

Then you need to move the file "virtualbox.repo" to the folder /etc/yum.repos.d/. In the terminal, navigate to the location where you kept the file and use the command:
sudo mv virtualbox.repo /etc/yum.repos.d/

Then you need to install dkms as follows:
sudo yum install dkms

To install the latest version of VirtualBox use the command:
sudo yum install VirtualBox-4.1
Note: The package name was change from virtualbox-4.1 to VirtualBox-4.1

If you prefer the older version of VirtualBox just change the version number such as:
sudo yum install virtualbox-3.2
sudo yum install virtualbox-3.1
sudo yum install virtualbox-3.0

Automation Script
I've created an automation script that perform the previous steps and install the latest version of VirtualBox. You can download this script FC17-vbox-install-noarch. If you prefer to install the older version, you need to modify the script.

Please remember to change the script to execution mode:
chmod +x FC17-vbox-install-noarch

To sun the script use the command:
sudo ./FC17-vbox-install-noarch

*** End ***


  1. Good guide thanks for the time you spen putting this steps together.
    -Good job.

  2. [tom@tomsfc16 ~]$ sudo yum install virtualbox-2.2
    Loaded plugins: langpacks, presto, refresh-packagekit
    No package virtualbox-2.2 available.
    Error: Nothing to do

    Looks like VirtualBox-2.2 is no longer in their repo?

    1. The latest version is 4.2, it seems that the oldest version for rpm package is v3.0.

  3. I Get the same error as Tom Jenkinson!!!!!


    1. try version 3.0 using $sudo yum install virtualbox-3.0

  4. Thank you very much
    because of your help I saved a lot of time.
    Knowledge will keep on progressing until the people keep on sharing it


Post a Comment

Popular posts from this blog

Revive Old Mac Mini (2009) with Linux

Configure Unattended Upgrades on Raspberry Pi

Install and Configure RealVNC in Linux Ubuntu 18.04 LTS