CentOSLinuxOperating SystemsRedHat

[How To] Install VirtualBox on RHEL / CentOS

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:

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:

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

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

3) If prompted install the dependencies.

That's it!

Related Articles

Leave a Reply

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

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

Back to top button