YouTube Icon

Code Playground.

How to Install VirtualBox on CentOS 8


How to Install VirtualBox on CentOS 8

VirtualBox is an open-source, cross-stage virtualization stage. It underpins various visitor working frameworks, including Linux and Windows, and permits you to run different virtual machines at the same time. 

In this instructional exercise, we will disclose how to introduce VirtualBox on CentOS 8. 

Installing VirtualBox on CentOS 8

Play out the means underneath as root or client with sudo benefits to introduce VirtualBox on CentOS 8: 

Empower the Oracle's VirtualBox store: 

sudo dnf config-manager --add-repo=

At the hour of composing this article, the most recent stable form of VirtualBox is variant 6.0.x. Run the accompanying order to introduce the VirtualBox-6.0 bundle: 

sudo yum install VirtualBox-6.0

During the establishment, you will be provoked to import vault the GPG key. Type y and hit Enter. 

That is it. Now, VirtualBox has been introduced on your CentOS 8 framework. 

Installing VirtualBox Extension Pack

The VirtualBox Extension Pack gives a few valuable functionalities to visitor machines, for example, virtual USB 2.0 and 3.0 gadgets, uphold for RDP, picture encryption, and that's only the tip of the iceberg. 

Use wget to download the augmentation pack from the VirtualBox download page : 


When the record is downloaded, import it utilizing the accompanying order: 

sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.0.14.vbox-extpack

You will be given the Oracle permit and provoked to acknowledge the terms and conditions. 

Do you agree to these license terms and conditions (y/n)?

Type y and hit Enter. At the point when the establishment is finished, you'll see the accompanying yield: 

Successfully installed "Oracle VM VirtualBox Extension Pack".

Starting VirtualBox

Since VirtualBox has been introduced on your CentOS machine, you can begin it either from the order line by composing VirtualBox or by tapping on the VirtualBox symbol (Activities - > Oracle VM VirtualBox). 

At the point when the VirtualBox is begun unexpectedly, a window like the accompanying ought to show up: 

From here, you can begin making your Windows and Linux virtual machines. 


Introducing VirtualBox on CentOS 8 is a clear assignment. You should simply to empower the Oracle store and introduce the VirtualBox bundle with dnf. 

For more data about VirtualBox visit the authority VirtualBox documentation page. 

On the off chance that you hit an issue or have criticism, leave a remark beneath.