fbpx

Guide to Install VirtualBox in Ubuntu Linux

How many Linux distributions are you running right now? Are you dual booting your favourite Linux distribution besides Windows OS.
If you are familiar with Linux, then by now you might be aware of the fact that there are hundreds of Linux distributions to address different purposes.

Have you ever thought of trying out various Linux distributions that are a free and open source? In the world of Linux, you are free to choose from various Linux distributions and give them a try without paying for a licence.

If you wish to try to different Linux distributions nothing can stop you from doing so, except the time that takes to install the distro and the number of resources it consumes to boot besides other existing OS on your machine. Every time you wish to try a Linux OS, the only painful thing is to setup partition space for every OS.

You can get rid of this pain by trying a Linux version from a live CD or live USB, But this would limit some functionality and refrains you from experiencing the true flavour of distribution. A better way is to use virtualization software that creates a virtual system inside your existing Operating system just like plug and play software.

VirtualBox: An Open source Virtualization Software

VirtualBox is one of the best virtualization software that is available for free and is open source. It is a cross-platform virtualization solution that is available for all the major OS like Linux, Windows, Mac, Solaris and FreeBSD. It is available for both commercial and personal use with enterprise-grade features.

Though it is free, VirtualBox delivers high-performance offering optimized professional features. It is backed by one of renowned tech company Oracle and is also supported by a good developer community. All these features made VirtualBox an ideal virtualization software for Linux enthusiasts and geeks. It is easy to instal VirtualBox on Windows but if you are using Linux you need to follow below steps to install VirtualBox In Linux.

VirtualBox inside Ubuntu Linux

Linux Mint Inside VirtualBox on Ubuntu

Windows_7_on_Ubuntu_14.04

Installing VirtualBox on Linux (Ubuntu)

VirtualBox can be installed on Ubuntu Linux by downloading the .deb file or by running some commands in Linux terminal. Here below we have listed both and you can adopt the one you like.

Method 1: Using “deb” file

  1. Download the deb from here or by clicking on below button.
  2. Now you can simply click on .deb to install VirtualBox (just like you do with .exe files) and follow on-screen instructions.

 

Note: You can follow this guide to learn how to install deb packages in debian based Linux distros.

Method 2: Installing VirtualBox via Terminal

To install VirtualBox using Linux terminal commands you need to add Oracle vbox repository. To add the repository run the below commands:

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

  • If you are running Linux Mint 18.X, replace $(lsb_release -sc)with  xenial in the code.
  • You need to add the repository as a trusted source in order to receive future updates. To do that run below commands one by one in the terminal.

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

  • Once you run the above commands successfully
  • Run the below commands to install VirtualBox on Ubuntu Linux

sudo apt-get update

sudo apt-get install virtualbox-5.2

  • This will install VirtualBox on your Linux machine and you can launch VirtualBox from the Ubuntu application menu.

As of writing this article the latest version of VirtualBox is 5.2 and don’t forget to check out what’s new in VirtualBox (5.2.18)

Final Verdict:

No doubt VirtualBox is the best free open source Virtualization tool available. You can VirtualBox to try several Linux flavours without sideloading them every time besides your production OS.

Also if you are an IT professional you can take advantage of VirtualBox to test your products on various platforms easily.

Was this post helpful?

You may also like...

4 Responses

  1. February 17, 2019

    […] Learn How to Install Virtual Box in Ubuntu […]

  2. April 28, 2019

    […] You can also try Zorin OS by using it from a Bootable USB drive or Live CD or you can install it inside VirtualBox and test its […]

  3. May 22, 2019

    […] a developer as many server-side applications require Java. Also, several system applications like VirtualBox and development tools require […]

  4. October 8, 2019

    […] has applications like VirtualBox to try other operating systems with ease. Overall it was a good Linux distribution to give a try […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Guide to Install VirtualBox in Ubuntu Linux

by LinuxFlips time to read: 3 min
4