0

How to install Virtual box in Ubuntu 16.04?

Yaron
  • 13,453

1 Answers1

2

To Install Oracle Virtualbox:

Step 1: Open your favorite editor (nano in my case) and create the file (virutalbox.list) to add repository as:

  1. sudo nano /etc/apt/sources.list.d/virtualbox.list

Add the following and save the file

  1. deb http://download.virtualbox.org/virtualbox/debian xenial contrib

Step 2: Download and add the key

  1. wget https://www.virtualbox.org/download/oracle_vbox_2016.asc
  2. sudo apt-key add oracle_vbox_2016.asc

Step 3: Update software sources (as usual)

  1. sudo apt-get update

Step 4: Finally, Install Virtualbox (current version is 5.1)

  1. sudo apt-get install virtualbox-5.1

Finally:

To run Virtualbox Open Dash (press SUPER key) and type something like "virtual" then click on Oracle VM VirtualBox icon.

Kaz Wolfe
  • 34,680