Oracle offers an open and easy-to-use tool called VirtualBox. It is known as one of the best cross-platform applications for visualizing the application within the application and simultaneously using it. It is available on almost all major operating systems such as MacOS, Windows, and Linux. This post will help you assist with the installation of VirtualBox on the CentOS 8 machine. Let’s get started.
Installation of VirtualBox on CentOS8
Installing VirtualBox in CentOS is no longer difficult now; we can install it on CentOS by adding the VirtualBox repository to the system and installing it. Just follow the steps given below, and you will have the latest stable version of VirtualBox installed on your CentOS 8 system.
First, update the CentOS 8 system metadata using the command given below:
Immediately after updating the metadata cache, review the system packages and by typing the command given below:
When the program is up to date, add a save by typing the command given below:
$ sudo dnf config-manager –add-repo=https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo
Once you have successfully added the VirtualBox repository to your system, you can install the latest version of VirtualBox by typing the command given below:
$ sudo dnf install VirtualBox-6.1 -y
The “-y” flag will automatically answer “yes” to all possible information to verify the VirtualBox installation process, such as importing GPG keys and installing dependency software.
After the VirtualBox installation process in CentOS 8, you should uninstall something like this.
Download and install VirtualBox Extension Pack
If you want to download and install the VirtualBox extension package again, you can download it using the wget command:
$ wget https://download.virtualbox.org/virtualbox/6.1.6/Oracle_VM_VirtualBox_Extension_Pack-6.1.6.vbox-extpack
After successfully downloading the extension package, you can install the latest version of the VirtualBox extension package for Virtual Box 6.1 by typing the command given below:
$ sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.1.6.vbox-extpack
Agree to the VirtualBox Extension license terms and conditions by pressing “y” and hitting the “Enter” button.
In a few seconds, the VirtualBox extension package will be installed, and you will have an output similar to this one.
Launch the VirtualBox
To launch VirtualBox in CentOS 8, Open your to-do menu, search for “VirtualBox”, and search results, and select the Virtual Box icon as shown in the image below:
Here you have a new and beautiful look for VirtualBox in CentOS 8.
We learned to install the latest and strongest version of VirtualBox on CentOS 8. We also saw how to download and install VirtualBox extension package for VirtualBox 6.1. VirtualBox can be used to run multiple operating systems by providing powerful memory and storage space. For more information on VirtualBox, visit the official VirtualBox website.