Whilst I tend to use Virt-Manager for my Virtualization needs, numerous users choose Oracle’s offering of VirtualBox.

Especially users that maybe coming from Windows.

 

Firstly VirtualBox need’s a few packages installed before we start the main installation.

 

Prerequisites

[alert-note]Please su into root or use sudo[/alert-note]

yum install kernel-headers kernel-devel dkms

 

Add Oracle’s Repository File

Change into Yums repo directory

cd /etc/yum.repos.d

then create the new repository file

touch virtualbox.repo

Edit the newly created file and copy and paste the following text and save the file.

[virtualbox]
name=Fedora $releasever - $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc
gedit /etc/yum.repos.d/virtualbox.repo

Now all we need to do is install VirtualBox-4.3 by doing the following

yum install VirtualBox-4.3

VirtualBox-4.3 will now install. All you need to do is now spin up a new VM of your choosing, have fun!

 

Screenshot from 2014-09-22 20:13:05

 

Please Note : If you have any tips or a how to that you would like to request please contact me via the “Contact Me” form at the top of the page. I’d love to hear from you whether it’s a request or information you want to share.


James Smith

Security Researcher, Penetration Tester & Linux Advocate

2 Comments

Paul Fee · September 23, 2014 at 11:05 am

Does the virtualbox package conflict with virt-manager/qemu/kvm or install and/or runtime?

If so at what point does the conflict become an issue. For example can both packages be installed but only one used at a time?

On Windows 7 machines, I’ve previously had issues installing virtualbox and virtual PC (for Windows XP mode) at the same time. virtualbox would then cause BSOD even when XP mode wasn’t running.

Ideally one could run VMs via virt-manager and virtualbox at the same time.

Thanks,
Paul

    smittix · September 23, 2014 at 4:28 pm

    Hi Paul thanks for reaching out, to be honest I haven’t tried running them side by side but I have had them installed together. It would be a good test to perform.

Leave a Reply

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

%d bloggers like this: