How to Install VirtualBox on CentOS 7
Table of Contents
Install VirtualBox on CentOS 7
VirtualBox is a free open source virtualization software allows you to run multiple operating systems. VirtualBox is also a cross-platform software which is available for Linux, Windows, and MacOS etc. operating systems. The Best way to installing the latest VirtualBox version is through Oracle repositories. In this tutorial, you are going to learn how to install VirtualBox on CentOS 7.
Before you start to install VirtualBox on CentOS 7. You must have the credentials of user with sudo privileges.
Install VirtualBox from Oracle Repositories
Here in this method, we will install VirtualBox from Oracle Repositories. At the time of writing this tutorial, the current latest version available is 6.0.4. You can also check the latest version visiting VirtualBox download page.
First, Install packages which are required for installation of VirtualBox by typing following command in terminal:
sudo yum install patch gcc kernel-headers kernel-devel make
Add VirtualBox Oracle Repository by typing below command:
sudo wget https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo -P /etc/yum.repos.d
Now install VirtualBox typing following command:
sudo yum install virtualbox-6.0
Install VirtualBox Extension Pack
To get some additional features you should install VirtualBox Extension Pack. Which provides features like support for images encryption, virtual USB 2.0 and 3.0 devices etc. To download Extension pack run below command:
After the download completes, import the extension package using
VBoxManage command typing:
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.0.4.vbox-extpack
It will ask you the following question:
Do you agree to these license terms and conditions (y/n)?
Enter ‘y’ to continue, after completing import you will see the following output:
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Successfully installed "Oracle VM VirtualBox Extension Pack".
You can launch VirtualBox in two ways first from command line typing
virtualbox and by visiting.
Applications -> System Tools -> Oracle VM VirtualBox.
You have successfully learned how to install VirtualBox on CentOS 7. If you have any queries please don’t forget to comment below.
How to Install FFmpeg on Debian 10
How to Add Swap Space on Debian 10
How to Stop and Disable FirewallD on CentOS 7
How to install Laravel PHP Framework With Nginx on Debian 9
How to Move Cursor to End of File in Vim / Vi Text Editor
How to Install Skype on Linux Mint 19
How to Install Postman on Manjaro 18
How to Install WordPress with LAMP Stack on CentOS 7
How to grep All Sub-Directories for Files
How to Install IntelliJ IDEA IDE on Manjaro 18
How to Install DataGrip on CentOS 7
How to Create New User and Grant Permissions in MySQL