
Then, the VirtualBox manager interface will open as shown below. Now, to access the newly installed VirtualBox, use the command: $ VirtualBox Finally, the system confirms the successful installation of the extension pack. Now, confirm that we agree to the terms and conditions with y. Next, import the pack to VirtualBox: $ sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.0.4.vbox-extpack Now, the terminal confirms that the packs have been downloaded.

Now, additional packs for functions like the use of USBs, remote desktop protocols, or disk encryption need to be installed separately.įirst, to download the extension VirtualBox pack, enter: $ wget Install Oracle VirtualBox Extension Pack (Optional) The output confirms that the service is active, and provides a timestamp. Enter y to confirm.Īfter the installation completes, check the status of the VirtualBox Linux kernel module service: $ sudo systemctl status vboxdrv The system prompts us to accept the GPG key. Now, we can install VirtualBox 6.0 from the downloaded repository: $ sudo yum install VirtualBox-6.0 Thus this command downloads the repository file and places it in the /etc/ directory. Now, to download the VirtualBox Oracle repository enter: $ sudo wget -P /etc/ Once the installation is complete, reboot the system to start using the new kernel: $ sudo reboot Download VirtualBox Repository To install additional modules (kernel-devel, dkms, kernel-headers, wget, and other dependency packages) enter: $ sudo yum install –y patch gcc kernel-headers kernel-devel make perl wget

VirtualBox uses the vboxdrv kernel module to control and allocate physical memory for the guest operating systems. Install Oracle VirtualBox Extension Pack.The installation process involves the steps below: Now the system is ready for the installation. This can be done using the command: $ sudo yum update The first step in installing VirtualBox is to prepare the system by updating the current CentOS 7 installation. Installing VirtualBox 6.0 From Oracle Repositories on CentOS Once this is done, we shall proceed with installing VirtualBox. Otherwise, the virtual machines will not perform as expected.

The initial step in enabling virtualization is to enable AMD-v or VT-x/VT-d from the BIOS of the computer.

Let us today discuss the steps to install VirtualBox on Centos. The install of VirtualBox on Centos involves a series of steps that include install of kernel modules and extension packs.Īs a part of our Server Management Services, we help our Customers with software installations regularly. VirtualBox software allows us to create and run virtual machines on a single hardware machine.
