Install VirtualBox 6.1 on Ubuntu 18.04

First you need to add VirtualBox repository

sudo echo "deb [arch=amd64] bionic contrib" > /etc/apt/sources.list.d/virtualbox.list

Add Keys

wget -q -O- | sudo apt-key add -
wget -q -O- | sudo apt-key add -

Do an apt upgrade

sudo apt-get update

If you have older version of VirtualBox installed, remove it

sudo apt remove virtualbox virtualbox-dkms virtualbox-qt

Install VirtualBox 6.1 with

sudo apt-get install virtualbox-6.1

VirtualBox 6.1 on Ubuntu

If you use Vagrant, you may need to install latest version as the vagrant provided by ubuntu won’t work with VirtualBox 6.1

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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