Install Virtualbox 5.1.8 On Ubuntu 16.04 / LinuxMint

Share it:

This tutorial shows how you can install Oracle Virtualbox 5.1.8 On Ubuntu 16.04 LTS / 14.04 LTS and  Linux Mint 

Virtualbox is an Open source application  for running operating systems virtually in your base system,with this application you can create and run multiple Operating systems virtually in your PC. Virtualbox available for Multiple operating systems (ie) windows,Solaris,MacOS-X and Linux


Changelog in virtualbox 5.1.8


  • GUI: fixed keyboard shortcut handling regressions (Mac OS X hosts only)
  • GUI: fixed keyboard handling regression for separate UI (Windows hosts only)
  • NAT: don't exceed the maximum number of "search" suffixes. Patch from bug.
  • NAT: fixed parsing of port-forwarding rules with a name which contains a slash.
  • NAT Network: when the host has only loopback nameserver that cannot be mapped to the guests (e.g. dnsmasq running on 127.0.1.1), make DHCP supply NAT Network DNS proxy as nameserver.
  • Bridged Network: prevent flooding syslog with packet allocation error messages.
  • Audio: now using Audio Queues on Mac OS X hosts
  • Audio: fixed recording with the PulseAudio backend (5.1 regression)
  • Audio: various bugfixes
  • Snapshots: fixed regression in 5.1.4 for deleting snapshots with several disks.
  • Snapshots: crash fix and better error reporting when snapshot deletion failed
  • Storage: some fixes for the NVMe emulation with Windows guests
  • API: fixed initialization of SAS controllers.
  • Build system: make it possible to build VBox on systems which default to Python 3
  • Windows hosts: detect certain cases of REGDB_E_CLASSNOTREG errors and print a helpful error message
  • Windows hosts: adapted to changes in Windows 10 build 14901.
  • Windows hosts: better support for processor groups on Windows 7 and later which is required on certain hosts with many CPUs
  • Windows installer / Additions: added option to prevent creating of start menu items.
  • Windows Additions / VGA: if the guest's power management turns a virtual screen off, blank the corresponding VM window rather than hide the window
  • Windows Additions: fixed a generic bug which could lead to freezing shared folders.
  • Linux hosts / guests: fix for kernels with CONFIG_CPUMASK_OFFSTACK set.
  • Linux Additions: don't require all virtual consoles be in text mode. This should fix cases when the guest is booted with a graphical boot screen.
  • Linux Additions: added depmod overrides for the vboxguest and vboxsf kernel modules to fix conflicts with modules shipped by certain Linux distributions
  • X11 Additions: disable 3D on the guest if the host does not provide enough capabilities.

Installation steps

Two ways to install Virtualbox on Ubuntu / LinuxMint / ElementaryOS

Method 1: Via PPA
Method 2: Via deb file


Method 1: Via PPA

Step 1: Before installing the new version , we need to remove the older using the software center or use the below command
sudo apt-get remove virtualbox virtualbox-4.* virtualbox-5.0
Step 2:Add the Packages list to sources.list
$sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list"
Note : LinuxMint and elementary OS users have to replace the name manually in place of $(lsb_release -cs).

Step 3: Download and install the Key for Virtualbox

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

Step 3: Update the Repository

sudo apt-get update
Step 4: Install Virtualbox 5.1.8
sudo apt-get install virtualbox-5.1


Method 2: Via deb file

If you are not comfortable with the PPA for installing the Virtualbox ,then manually download the deb file and install it.

Step 1: Download the deb files from here according to your distribution

Step 2: Install the deb file

gdebi -i virtualbox-5.1_5.1.8-111374-Ubuntu-xenial_amd64.deb
Share it:

Post A Comment: