How to Install Oracle VM VirtualBox 6.0 on CentOS 7

In this tutorial, we will learn how to Install Oracle VM VirtualBox 6 on CentOS 7 Linux operating system.

Oracle VirtualBox

Oracle VM VirtualBox also is known as VirtualBox – is a virtualization software designed and developed by Oracle Corporation. This piece of software let’s allow you to run multiple operating systems on your single machine and OS without affecting your currently installed operating system.

VirtualBox is a cross-platform application. It can be run on Windows, MacOs, Solaris, and almost all the Linux distribution. Learn more about Oracle VM VirtualBox here.

Download & Install VM VirtualBox 6

You can download and install VirtualBox either using simple few command line or you can also download and install the installation file from Oracle VirtualBox page. In this Tutorial, we are going to use the command line tool for installing and running up the Oracle VM VirtualBox.

Before running the installation command first we will need to install some dependencies for running VirtualBox. The DKMS or “Dynamic Kernel Module Support” is needed for running VirtualBox. Let’s install DKMS then.

To install DKMS open up your terminal on CentOS 7. Access the root permission by su command, enter your password if necessary. Then type the following command;

# sudo yum install dkms

Your terminal will ask you that you want to download and install the dkms dependencies, Type y from your keyboard and press enter to successfully download and install dkms.

Install DKMS
Install DKMS

Install VM VirtualBox on CentOS 7

Once all the necessary dependencies installed, now we will ready to download the repo file in a specific directory on our machine. Run the command to download the virtual box repo file:

# sudo wget -P /etc/yum.repos.d http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo

Wait for the repo to be downloaded, after completing the process lets install VirtualBox via the following command;

# sudo yum install virtual-box-6.0

Now you have successfully installed the Oracle VM VirtualBox 6.0 on your CentOS machine.

Running VirtualBox

After completing the above processes, now the VirtualBox application icon should be found under the Application > System Tools category. Click on the VM icon to start the VirtualBox.

Install Oracle VM VirtualBox 6.0 on CentOS 7

Hope that It worked!

{Linux case studies}

Linux Tutorial Linux Tutorial Index

Tags