Skip to content
TrySitePrice

How to install VirtualBox on Ubuntu 20.04 Linux LTS

Best/Tutorial

To install VirtualBox on Ubuntu 20.04 LTS, follow these steps:

  1. Add the VirtualBox repository to your system by running the following command in the terminal:
sudo add-apt-repository "deb https://download.virtualbox.org/virtualbox/debian focal contrib"
  1. Download and add the Oracle public key for apt-secure using the following command:
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
  1. Update the package list and install VirtualBox with the following command:
sudo apt-get update && sudo apt-get install virtualbox-6.1
  1. To run VirtualBox, type virtualbox in terminal or search VirtualBox in the Ubuntu Dash.
rnNote: If you encounter any issues with the above commands, make sure that you have enabled the universe repository in Ubuntu, because the package might not be available in the default repositories.