VirtualBox is a free and open source virtualization platform for for Linux and Windows systems. It was initially developed by Innotek, and later acquired by the Sun Microsystems in 2008.
Oracle VirtualBox 6.1 is the latest major version launched by the Oracle team. The latest updates comes time to time. At the time of updating this tutorial, VirtualBox 6.1.16 is the latest available version to install. You can read the ChangeLog to know more about changes in newer version’s of VirtualBox.
This tutorial described you to how to install VirtualBox on Ubuntu 20.04 LTS (Focal Fossa) Linux systems.
First of all, upgrade the current packages on your system. Login to your Ubuntu desktop system using sudo privileged user. Then run the following command to upgrade packages on your system to the latest version.
sudo apt update && sudo apt upgrade
Step 1 – Configure Apt Repository
Oracle VirtualBox team provides an official package repository for the Ubuntu & Debian based systems. Import the public key to your system signed the packages.
Open a terminal (CTRL+ALT+T) on your system and execute:
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
Then, you need to add Oracle VirtualBox PPA to the Ubuntu system. You can do this by running the below command on your system.
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian focal contrib"
This command will add an entry to /etc/apt/sources.list at end of the file.
Step 2 – Install VirtualBox on Ubuntu 20.04
Now, your system is ready for the Virtualbox installation. Run the following commands to install VirtualBox. If you have already installed an older version of VirtualBox, Below command will update it automatically.
sudo apt update
sudo apt install virtualbox-6.1
Press ‘Y’ for any confirmation prompted by the above command. This will complete installation of VirtualBox on Ubuntu systems.
Step 3 – Launch VirtualBox Application
Search for the Virtualbox under the applications or simply run following command from a terminal to launch Virtualbox application.
This tutorial helped you to install Virtualbox on Ubuntu 20.04 LTS Linux system.