How to Install VirtualBox in Ubuntu and Linux Mint 20.04 LTS

VirtualBox is a popular “Cross-platform” Hosted or type 2 Hypervisors for x86-based systems developed and maintained by Oracle Corporation which enables users to easily install, run and deploy multiple Guest Operating Systems on a single host. In this guide, we’ll show you two simple ways to install VirtualBox on Debian-based Linux system (Ubuntu & Linux Mint).
. Using Ubuntu Repository
. Using Oracle VirtualBox Repository

Also Read: How to install Ubuntu 20.04 LTS Desktop with Screenshots
Also Read: How to install GNOME GUI (Graphical User Interface) on Ubuntu 20.04 LTS Server

Install VirtualBox using Ubuntu Default Repository:

Installing the VirtualBox from the Ubuntu repositories is an easy process. Run the following commands from terminal. Open terminal using ‘ATL+CTRL+T’ (Click on picture below to enlarge it).
$ sudo apt update && sudo apt upgrade
$ sudo apt install virtualbox virtualbox-ext-pack

Package configuration. Click on “OK”.

Package configuration. Click on “Yes” to accept the terms of the VirtualBox PUEL license.

Login into Graphical mode of Ubuntu 20.04 and type “virtualbox” on search box and click on icon of VirtualBox as shown below else you can run “$ sudo virtualbox” from terminal also.
sudo virtualbox

First screen of VirtualBox.

Check installed version.

This indicates the end of VirtualBox installation using Ubuntu Default repositories.

Install VirtualBox Using Oracle VirtualBox Repositories on Linux Mint 20.04

Here, we are going to see how to install VirtualBox using Oracle VirtualBox Repositories. Oracle keep updating it’s repositories with the latest release version. Oracle VirtualBox available on default Ubuntu repositories may not be the latest one. With below steps will install the latest Oracle VirtualBox available on Oracle VirtualBox Repositories (Click on picture below to enlarge it).
. Import VirtualBox Repository public key on your system.
$ sudo wget -q -O- | sudo apt-key add –
Following command to add VirtualBox Repository. 
echo “deb [arch=amd64] focal contrib” | sudo tee /etc/apt/sources.list.d/virtualbox.list

Install Oracle VirtualBox
$ sudo apt update
$ sudo apt install -y virtualbox-6.1

Once installation is done, open Graphical mode and go to menu >> on search box, type “virtualbox” and click on  “Oracle VM VirtualBox” icon as shown below.

First screen of Oracle VirtualBox.

Oracle VirtualBox running on Linux Mint 20.04

. Also Read: Linux Mint 20 LTS (Ulyana) Installation Guide with Screenshots
That’s it. We have seen VirtualBox installation on Ubuntu & Linux Mint 20 LTS. Big thanks for reading all the way to the end. Please share it with Your Friends & Help Someone. Also Like Our tecluesdotcom Facebook Page. Let me hear your thoughts in the comment box below!

Leave a Comment