How to install VirtualBox on Ubuntu 16.04

sudo mkdir -p "/etc/apt/sources.list.d"
echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" | sudo tee "/etc/apt/sources.list.d/virtualbox.list"
wget -qO- "https://www.virtualbox.org/download/oracle_vbox_2016.asc" | sudo apt-key add -
wget -qO- "https://www.virtualbox.org/download/oracle_vbox.asc" | sudo apt-key add -
sudo apt-get update
sudo apt-get install -y dkms
sudo apt-get install -y virtualbox-5.2

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.