

Step 2 – Install VirtualBox on Ubuntu 20.04 This command will add an entry to the /etc/apt/sources.list at end of the file. sudo add-apt-repository "deb focal contrib" You can do this by running the below command on your system. Then, you need to add Oracle VirtualBox PPA to the Ubuntu system. Open a terminal (CTRL+ALT+T) on your system and execute: wget -q -O- | sudo apt-key add - wget -q -O- | sudo apt-key add.

Import the public key to your system signed the packages. Oracle VirtualBox team provides an official package repository for Ubuntu & Debian-based systems. sudo apt update & sudo apt upgrade Step 1 – Configure Apt Repository Then run the following command to upgrade packages on your system to the latest version. Login to your Ubuntu desktop system using sudo privileged user. Prerequisitesįirst of all, upgrade the current packages on your system.

This tutorial described how to install VirtualBox on Ubuntu 20.04 LTS (Focal Fossa) Linux systems. You can read the ChangeLog to know more about changes in newer version’s of VirtualBox. At the time of updating this tutorial, VirtualBox 6.1.16 is the latest available version to install. The latest updates come from time to time. Then, open the Ubuntu terminal and mount the guest additions CD image by running the following command: sudo mount /dev/cdrom /mnt Execute nĪfter mounting the image, cd into the /mnt directory, and run the n script: cd /mnt/Īfter the installation is complete, reboot your Ubuntu Virtual Machine before the Guest Additions software takes effect.Oracle VirtualBox 6.1 is the latest major version launched by the Oracle team. Sudo apt install build-essential dkms linux-headers-$(uname -r) Mount Guest Additions CD Imageįrom the Devices menu of your virtual machine’s window, select Devices | Insert guest additions CD image.Ĭlick on Cancel when asked, Would you like to run it? Login to your VM and Install the dependency packages before starting with the Guest Additions installation by running the following in a Terminal window: sudo apt update How to Install VirtualBox Guest Additions on Ubuntu 20.04 LinuxĪfter installing Ubuntu 20.04 on VirtualBox, we need to install VirtualBox Guest Additions to enable additional features that VirtualBox provides for the Guest Operating system.įollowing are the steps to install VirtualBox Guest Additions on a Ubuntu 20.04 Virtual Machine:
