This tutorial currently relates to VirtualBox 6.0.x, but will be valid for any version in the VirtualBox repository. The following instructions have been tested on Mint 19.x but should also work on Mint 18.x, Ubuntu 16.04 and 18.04, and other distros based on Ubuntu. Note that since v6, VirtualBox does not support 32-bit hosts, for which you should install VirtualBox v5.2.
The instructions below should not affect any virtual machines you have already set up with a previous version of...