

Next, install the following necessary packages: $ sudo apt install build-essential dkms unzip wgetĪfter installing all updates and necessary prerequisites, restart the Ubuntu server. $ sudo apt update $ sudo apt upgrade $ sudo apt dist-upgrade $ sudo add-apt-repository universe $ sudo add-apt-repository multiverseĪnd then, update the Ubuntu server by running the following commands one by one. These repositories are required to install some dependencies while installing Virtualbox.

