How to install Virtual Box on CentOS 7


How to Install VirtualBox on CentOS7

In this post we will learn how to install VirtualBox on CentOS7.  Oracle VM VirtualBox, is one of the  popular open source, cross-platform, virtualization software. It enables developers to deliver code faster by running multiple operating systems on a single device. IT teams and solution providers use VirtualBox to reduce operational costs and shorten the time needed to securely deploy applications on-premises and to the cloud.

To install VirtualBox run the following commands.

# wget https://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo -P /etc/yum.repos.d/
# rpm --import https://www.virtualbox.org/download/oracle_vbox.asc
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum update
# yum install binutils kernel-devel kernel-headers libgomp make patch gcc glibc-headers glibc-devel dkms -y
# yum -y install VirtualBox-6.1

Launch VirtualBox using below command -
# virtualbox

Leave a Reply