How To Install VirtualBox 5.2 on Linux Mint 19 / Linux Mint 18
VirtualBox is an open-source hypervisor application that helps you create and run guest operating systems (“virtual machines”) such as Linux and Windows under a host operating system. VirtualBox can be installed on host operating systems, including Linux, Windows, Solaris, OS X, and OpenSolaris.
From the version 2.0 VirtualBox supports 32 and 64bit host and guest operating systems. If you want to install 64bit guests then your processor must support hardware virtualization and, of course, the host operating system must be 64bit as well.
VirtualBox is released under GPL v2 and Oracle VM VirtualBox extension pack is released under PUEL (Personal Use and Evaluation License).
Install VirtualBox 5.2 on Linux Mint 19 / Linux Mint 18
Open up a terminal and Import the public key of the Oracle VirtualBox repository to your system.
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
Add the VirtualBox repository using the following command.
### Linux Mint 19 ### echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list ### Linux Mint 18 ### echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
Update the repository index database.
sudo apt-get update
Install the VirtualBox 5.2 using the apt command.
sudo apt-get install virtualbox-5.2
Start VirtualBox (on Cinnamon desktop): Menu >> Administration >> Oracle VM VirtualBox.
You should get the home screen of the Oracle VirtualBox Manager. Here you can create and manage your virtual machines.
What are you waiting for? Just go and create VMs.
VirtualBox Running VMs on Linux Mint: