
deb bionic contribĪdd Oracle VirtualBox official repository


Here, I will be using Ubuntu 18.04.2 LTS, so I have added the following repository. To do so, edit /etc/apt/sources.list file: $ sudo nano /etc/apt/sources.list $ sudo reboot Install Oracle VirtualBox on Ubuntu 18.04 LTS serverĪdd Oracle VirtualBox official repository. 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.

Adjust firewall to allow Apache web serverīefore installing Oracle VirtualBox, we need to do the following prerequisites in our Ubuntu 18.04.2 LTS server.įirst of all, make sure you have enabled universe and multiverse repositories if they are not enabled already.Install phpVirtualBox in Ubuntu 18.04 LTS.Install Oracle VirtualBox on Ubuntu 18.04 LTS server.
