

Prerequisites #īefore continuing with this tutorial, make sure you are logged in as a user with sudo privileges The same instructions apply for Ubuntu 16.04 and any Ubuntu-based distribution, including Linux Mint and Elementary OS. If you want to always have the latest version of VirtualBox then the recommended approach is to install the VirtualBox from the Oracle repositories.

The VirtualBox package which is available in the Ubuntu multiverse repository may not always be the latest version. The first method describes the steps necessary to install VirtualBox 6.0 from the Oracle repositories while the second one will show you how to install the latest version of VirtualBox from the official Ubuntu repositories. In this tutorial, we will show you two different methods on how to install VirtualBox on your Ubuntu 18.04 machine. How to Install VirtualBox on Ubuntu 20.04
