virtualbox ppa for 14.04

First you need to add the repository to your system. Copy and paste the following to a terminal window:

VirtualBox no longer supports i386, so add the repository like this:

echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list    

Then you just step through the rest from https://www.virtualbox.org/wiki/Linux_Downloads; or I put the steps below.

You can just copy and paste each of these steps to finish your install of VirtualBox on your system:

Add the key:

Ubuntu 14.04 (No longer supported):

wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

Ubuntu 16.04 (no longer supported) and newer (18.04 and newer are supported still):

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

Then do your update and install:

sudo apt-get update

Install Virtualbox (6.1 is the newest for now):

sudo apt-get install virtualbox-6.1

If this is a new installation, run the following to add vboxusers group to your username:

sudo usermod -a -G vboxusers $USER

Then log out and back in for changes to take effect.

Then after it is all installed, it is recommended to install the VirtualBox Extension Pack from here.

Hope this helps!