How to install Oracle VirtualBox in Ubuntu

To install Oracle VirtualBox

Oracle VirtualBox is an open-source cross platform virtualization software from Oracle Corporation. In this article, you are going to learn about a simplified installation procedure of Oracle VirtualBox on Ubuntu.




  •     Fixed recording with the PulseAudio backend
  •     Fixed parsing of port-forwarding rules with a name which contains a slash
  •     Snapshots are fixed regression in 5.1.4 for deleting snapshots with several disks.
  •     NAT don't exceed the maximum number of "search" suffixes
  •     It doesn't require all virtual consoles be in text mode.
  •     Lists information about the installation status of packages
  •     Supports searching the plugins list

Installation of Oracle VirtualBox

The first step is to open the repo file and add the below mentioned line at its bottom.

root@linuxhelp1:~# vim /etc/apt/sources.list
deb wily contrib

Now, use the following command to download the key for installation. Use the following commands for the same purpose.

root@linuxhelp1:~# wget -q -O- | sudo apt-key add -
root@linuxhelp1:~# wget -q -O- | sudo apt-key add -

Once the key is downloaded, update your machine by triggering the following command.

root@linuxhelp1:~# apt-get updateHit wily InRelease
Hit wily-security InRelease                                  
Hit wily-updates InRelease                
Hit wily-backports InRelease                               
Hit wily-security/main Sources                               
Hit wily-backports/main Translation-en                     
Hit wily-backports/multiverse Translation-en               
Hit wily-backports/restricted Translation-en               
Hit wily-backports/universe Translation-en                 
Fetched 10.1 kB in 12s (820 B/s)

Once the machine is updated, run the following command to install Oracle VirtualBox.

root@linuxhelp1:~# apt-get install virtualbox-5.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libqt5x11extras5 libsdl-ttf2.0-0 libsdl1.2debian
The following NEW packages will be installed:
  libqt5x11extras5 libsdl-ttf2.0-0 libsdl1.2debian virtualbox-5.1
Setting up libsdl-ttf2.0-0:amd64 (2.0.11-3) ...
Setting up libqt5x11extras5:amd64 (5.4.2-2build1) ...
Setting up virtualbox-5.1 (5.1.8-111374~Ubuntu~wily) ...
Adding group `vboxusers' (GID 129) ...
Processing triggers for libc-bin (2.21-0ubuntu4) ...

The installation is now complete. Use the following command to open oracle VirtualBox.

root@linuxhelp1:~# virtualbox



If you want to check the version of Virtualbox you had just installed, click Help and choose AboutVirtualBox option.




Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Virtualbox Virtualization
user image Author :  Mason