Install VirtualBox 4.5 on Ubuntu 16.04

Install VirtualBox 4.5 on Ubuntu 16.04
Install VirtualBox 4.5 on Ubuntu 16.04

VirtualBox is an open-source hypervisor software; it allows you to create and run guest operating systems (“virtual machines”) such as Linux and Windows on top of the existing operating system (host). VirtualBox may be installed on host operating systems, including Linux, Windows, Solaris, OS X, and OpenSolaris.

VirtualBox is released under GPL v2 and VirtualBox Oracle VM VirtualBox extension pack is released under PUEL (Personal Use and Evaluation License).

You can install VirtualBox either using precompiled binaries or source code. This tutorial focused on installing VirtualBox using precompiled binaries (.deb).

Starting from the version 2.0, VirtualBox supports 32 and 64bit host and guest operating systems (To run a 64bit guests, make sure your processor supports hardware virtualization and, the host operating system must be 64bit as well).

Kick start a terminal to begin.

To add a VirtualBox repository, edit /etc/apt/sources.list file.

sudo nano /etc/apt/sources.list

Add the following line to above file.

deb xenial contrib

Now Import the Public Key of the Oracle VirtualBox repository to your system using the following command.

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

Update the Ubuntu package database.

sudo apt-get update

Install the VirtualBox 5.0. Command as follows.

sudo apt-get install virtualbox-5.0

Install dkms packages to ensure that the VirtualBox host modules are properly updated if the kernel version changes during the next upgrade.

sudo apt-get install dkms

Start VirtualBox (Dash—> Search > Oracle VM VirtualBox).



On your first start, VirualBox may prompt you to accept the license agreement.

Why are you waiting for? just go and create virtual machines. The following screenshot shows Fedora 24 running on VirtualBox.

Install VirtualBox 4.5 on Ubuntu 16.04 - Running Guest Machine
Install VirtualBox 4.5 on Ubuntu 16.04 – Running Guest Machine


Virtual Box offers a “Guest Additions”; a package of device drivers and system applications which typically improves performance, especially of graphics.

Oracle VirtualBox Guest Addition

Enable remote display in Virtual Box


Share This Post

  • 蒂欧娜


  • Robert Archuletta

    This was much easier than Oracle’s instructions. It’s working!