Here’s a quick guide to install VirtualBox 3.1.2 on Fedora 12

  1. Import Sun’s public key

[dexter]# wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | rpm --import -

  1. Download the Fedora repo file and save it into the /etc/yum.repos.d/ directory

[dexter]# cd /etc/yum.repos.d/

[dexter]# wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo

[dexter]# yum clean all

  1. Install VirtualBox 3.1.2

[dexter]# yum install VirtualBox-3.1

That’s it!