Install VirtualBox 4.3 on Fedora 22 / 21

ADVERTISEMENT

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.

ADVERTISEMENT
Article will continue after the ad

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 https://www.virtualbox.org/download/oracle_vbox.asc

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 http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo -O /etc/yum.repos.d/virtualbox.repo

OR

Manually create a repo file.

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

Add the following content into it.

[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

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.

ADVERTISEMENT

POSTS YOU MAY LIKE -:)

Share This Post

Shares