How to Install VirtualBox 6.0 on CentOS 7.6

Hello everyone, currently I am building a new server for my home. It’s powered by CentOS 7.6. I want this server to run multiple operating systems for my labs. There are several options I can choose to run multiple virtual machines on my server. VMWare Workstation is a great piece of virtualization software. It has been used widely by personal or enterprise. But I need something free but reliable.

Finally, I choose VirtualBox. A well known virtualization software by Oracle. The new version of VirtualBox 6.0 is now available for download. It comes with a new and refreshed user interface. So here, I will write my experience when installing Oracle VirtualBox 6.0 on CentOS 7.6.

Steps to Install Oracle VirtualBox 6.0 on CentOS 7.6

To install VirtualBox on CentOS 7.6, follow these steps.

  1. Update CentOS
  2. Download Oracle VirtualBox RPM file
  3. Install VirtualBox

Step 1. Update CentOS

It is important to update our system before performing the installation. Login as root and then perform system update.

su –
yum update

Step 2. Download VirtualBox 6.0 PRM File

Download the latest VirtualBox 6.0 for CentOS Linux 7 using the link below.

https://download.virtualbox.org/virtualbox/6.0.2/VirtualBox-6.0-6.0.2_128162_el7-1.x86_64.rpm

Save the file VirtualBox-6.0-6.0.2_128162_el7-1.x86_64.rpm to your download directory.

Step 3. Install VirtualBox

Now, open Terminal and cd to the download directory. We are going to install the rpm file from Terminal.

cd /home/oracle/Downloads
su –
yum localinstall VirtualBox-6.0-6.0.2_128162_el7-1.x86_64.rpm

Output:

Confirm the installation and wait until the installation process completes. This will take some times to complete. Once the installation completes, we need to add our user to vboxusers group.

usermod -a -G vboxusers oracle

The command will add my oracle user to vboxusers group. That’s it. Now I can run VirtualBox 6.0 on my CentOS 7.6.

Admin

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.