[How To] Install VirtualBox on RHEL / CentOS

Share with all..

Oracle's VirtualBox is a cross platform virtualization application. It runs on minimum hardware configuration and very easy to use.

To install VirtualBox on RHEL / CentOS using YUM utility:

1) Enable VirtualBox repository:

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

virtualbox.repo file should contain following details:

[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc

2) Install VirtualBox using YUM:

1
yum install VirtualBox-4.3

Note: Installing VirtualBox using repo and YUM utility minimizes the efforts such as creating virtualbox user, kernel modules, etc.

To install VirtualBox on RHEL / CentOS using RPM:

1) Download the RPM file from here.

2) Install using RPM

1
rpm -ivh VirtualBox-4.3-4.3.6_91406_el5-1.x86_64.rpm

3) If prompted install the dependencies.

That's it!


Share with all..

About Abhijit Sandhan

Loves Open Source, Blogging, Traveling, Hiking and sharing Knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *