Introduction 

Virtual Box is a free cross-platform software that enables you to run multiple guest operating systems. Typically, desktop users use VirtualBox as a testing and development environment. 

Prerequisites 

  • A server running Ubuntu version 20.04 
  • Non-root sudo privileges 
  • Upgraded Ubuntu packages 

 Step 1: Set up Apt Repository 

  • Update and upgrade the packages already installed on your server. 
sudo apt update

sudo apt upgrade

  • An official package repository for Ubuntu and Debian-based systems is offered by the Oracle VirtualBox team. Use the following commands to import Oracle public keys: 
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 -   

  • Run the command below on your system to add Oracle VirtualBox Personal Package Archive (PPA) to Ubuntu OS. 
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian focal contrib"   

Step 2: Set up VirtualBox on the Ubuntu server 

  • If you already have a previous version of VirtualBox installed, the below command will update it for you. 
sudo apt update

  • To install VirtualBox, execute the following command. 
sudo apt install virtualbox-6.1 

Step 3: Open the VirtualBox Application 

To execute the VirtualBox application, enter the following command. 

virtualbox

Conclusion 

We have successfully demonstrated how to install VirtualBox on Ubuntu 20.04. 

 

 

Kas see vastus oli kasulik? 1 Kasutajad peavad seda kasulikuks (2 Hääled)