Friday 13 July 2012

How to install Oracle Virtual Box on Fedora


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:
http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo

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:
?
1
sudo mv virtualbox.repo /etc/yum.repos.d/


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


To install the latest version of VirtualBox use the command:
?
1
sudo yum install virtualbox-4.1


If you prefer the older version of VirtualBox just change the version number such as:
?
1
2
3
4
5
sudo yum install virtualbox-3.2
sudo yum install virtualbox-3.1
sudo yum install virtualbox-3.0
sudo yum install virtualbox-2.2
sudo yum install virtualbox-2.1


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:
?
1
chmod +x FC17-vbox-install-noarch


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

*** Thank you ***

0 comments:

Post a Comment