How install VirtualBox on Linux Mint

Here will explain how to install VirtualBox in Linux Mint, this working for all Linux Mint Desktop (Cinnamon, Mate, and Xfce), we will use to install VirtualBox adding the third-party repository from VirtualBox.




1. Add virtualbox.list with your preferably Text editor (nano, gedit, vim,...) to /etc/apt/sources.list.d/virtualbox.list


For Linux Mint 19

Sources for Processors 32-bit

deb https://download.virtualbox.org/virtualbox/debian bionic contrib

Sources for Processors 64-bit

deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib



For Linux Mint 18

Sources for Processors 32-bit

deb http://download.virtualbox.org/virtualbox/debian xenial contrib

Sources for Processors 64-bit

deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian xenial contrib



With gedit Text editor

image open /etc/apt/sources.list with gedit text editor

How to show my /etc/apt/sources.list.d/virtualbox.list with virtualbox.list and packet sources for 64-bit processors

image  /etc/apt/sources.list.d/virtualbox.list with virtualbox.list

...and not to forget to save it



From here, all both Linux Mint version, the installation is identical.


2. Add Oracle VirtualBox public key:

wget https://www.virtualbox.org/download/oracle_vbox_2016.asc

sudo apt-key add oracle_vbox_2016.asc

How to show it on terminal

image add Oracle VirtualBox public key on terminal:

3. Install virtualbox-6.0, or search the VirtualBox website for the latest version, here

sudo apt-get update

sudo apt-get install virtualbox-6.0

Reboot your computer

sudo reboot


4. Start your new Virtualbox

In Applications + System Tools is the VirtualBox

image show habe virtualbox install









You comment is welcome: