How to Install Latest VirtualBox 5.1 on Ubuntu 16.04/Debian 8
VirtualBox is a free and open-source virtualization software that can be used in enterprise as well as in home. It can run on Linux, Mac, Windows. The latest VirtualBox 5.1 was released on July 12, 2016 by Oracle.
Is it a worthy update? Here are the highlights in VirtualBox 5.1:
- increased Linux Integration, DKMS is no longer needed to install new kernel modules when Linux kernel is upgraded
- improved multimedia support
- a new bug reporting helper tool
- a new NVMHCI storage controller for emulating NVMe (NVM Express) devices, aka, flash storage
- better support for different USB devices and multi-channel audio
- significantly improved performance when running VMs with multi-CPU
- improved systemd integration
Install VirtualBox 5.1 on Ubuntu 16.04/Debian 8
The following steps also works on Ubuntu flavors like Lubuntu 16.04, Xubuntu 16.04, Ubuntu Mate 16.04 etc and also on Linux Mint 18, Elementary OS.
To install the latest version on Ubuntu 16.04 and Debian 8, we will have to use the official Oracle repository.
If you have already installed VirtualBox from Ubuntu or Debian repository, remove it with:
sudo apt remove virtualbox
Don’t worry about your guest OS. They will be fine. Next, open
sudo nano /etc/apt/sources.list
Append the following line at the end of this file if you are using Ubuntu 16.04.
deb http://download.virtualbox.org/virtualbox/debian xenial contrib
Append this line if you are using Debian 8 Jessie.
deb http://download.virtualbox.org/virtualbox/debian jessie contrib
Ctrl+O to save the file. Then press
Ctrl+X to close the file. Now fetch the Oracle GPG public key and import it to your Ubuntu 16.04/Debian 8 system with the following command so packages downloaded from Oracle repository can be verified.
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
Then all left to do is update local package index and install Virtualbox 5.1.
sudo apt update sudo apt install virtualbox-5.1
You can check the version number in