How to Install VirtualBox on CentOS 8

How to Install VirtualBox on CentOS 8

All

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=https://obtain.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
  2. On the time of writing this text, the newest secure model of VirtualBox is model 6.zero.x. Run the next command to put in the VirtualBox-6.zero package deal:

    sudo yum set up VirtualBox-6.zero

    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 2.zero and three.zero units, help for RDP, picture encryption, and extra.

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

wget https://obtain.virtualbox.org/virtualbox/6.zero.14/Oracle_VM_VirtualBox_Extension_Pack-6.zero.14.vbox-extpack

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

sudo VBoxManage extpack set up Oracle_VM_VirtualBox_Extension_Pack-6.zero.14.vbox-extpack

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:

zero%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
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.

Conclusion

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.

Comments