How to Install VirtualBox on CentOS 8

How to Install VirtualBox on CentOS 8


Linux Articles / All 55 Views comments

VirtualBox is an open-source, cross-platform virtualization platform. It helps numerous visitor working methods, together with Linux and Home windows, and lets you run a number of digital machines concurrently.

On this tutorial, we'll clarify learn how to set up VirtualBox on CentOS eight.

Putting in VirtualBox on CentOS eight

Carry out the steps under as root or user with sudo privileges to put in VirtualBox on CentOS eight:

  1. Allow the Oracle's VirtualBox repository:

    sudo dnf config-manager --add-repo=
  2. On the time of writing this text, the newest secure model of VirtualBox is model Run the next command to put in the package deal:

    sudo yum set up

    In the course of the set up, you'll be prompted to import repository the GPG key. Sort y and hit Enter.

That is it. At this level, VirtualBox has been put in in your CentOS eight system.

Putting in VirtualBox Extension Pack

The VirtualBox Extension Pack supplies a number of helpful functionalities for visitor machines corresponding to digital USB and units, help for RDP, picture encryption, and extra.

Use wget to obtain the extension pack from the VirtualBox download page:


As soon as the file is downloaded, import it utilizing the next command:

sudo VBoxManage extpack set up

You may be introduced with the Oracle license and prompted to simply accept the phrases and circumstances.

Do you agree to those license phrases and circumstances (y/n)?

Sort y and hit Enter. When the set up is full, you will see the next output:

Efficiently put in "Oracle VM VirtualBox Extension Pack".

Beginning VirtualBox

Now that VirtualBox has been put in in your CentOS machine, you can begin it both from the command line by typing VirtualBox or by clicking on the VirtualBox icon (Actions -> Oracle VM VirtualBox).

When the VirtualBox is began for the primary time, a window like the next ought to seem:

From right here, you can begin creating your Home windows and Linux digital machines.


Putting in VirtualBox on CentOS eight is an easy activity. All it is advisable do is to allow the Oracle repository and set up the VirtualBox package deal with dnf.

For extra details about VirtualBox go to the official VirtualBox documentation web page.

In case you hit an issue or have suggestions, depart a remark under.