Linux, Windows, Virtualization, OpenSource & Blogging

Install VirtualBox 4.3 on Fedora 22 / 21


Oracle VirtualBox

With VirtualBox you can create and run virtual machines on top of Linux and Windows machines. This guide shows you how to install VirtualBox 4.3 on Fedora 22.

From the version 2.0 VirtualBox supports 32 and 64bit host and guest operating systems (if you want to install 64bit guests your processor must support hardware virtualization and, of course, the host operating system must be 64bit as well).

Install kernel-headers and dkms.

# dnf install kernel-devel kernel-headers dkms 
# dnf update

Download Oracle public key.

# wget

Import Oracle public key.

# rpm --import oracle_vbox.asc

Download VirtualBox repo file for Fedora and move it into /etc/yum.repos.d directory.

# wget -O /etc/yum.repos.d/virtualbox.repo


Manually create a repo file.

# vi /etc/yum.repos.d/virtualbox.repo

Add the following content into it.

name=Fedora $releasever - $basearch - VirtualBox

Install VirtualBox 4.3.

# dnf install VirtualBox-4.3

Rebuild the kernel.

# service vboxdrv setup

Add your user name in to vboxuser group.

# usermod -a -G vboxusers raj

Start VirtualBox using following command.

$ virtualbox

Now you can start adding VM’s on VirtualBox.

Install VirtualBox on Fedora 22
Install VirtualBox on Fedora 22

That’s All!, you have successfully installed VirtualBox on Fedora 22.

Note: If do not have a GUI, consider using phpVirtualBox for managing virtual machines using web browser or Hyperbox a client application to manage VirtualBox.


You might also like

Install VirtualBox 4.3 on Fedora 22 / 21