How To Install VirtualBox On Ubuntu 20.04 May 28, 2020 Raj 3 min read CONTENTS Install VirtualBox on Ubuntu 20.04 Add VirtualBox Repository Install VirtualBox NOTE: UEFI Secure Boot Enabled Access VirtualBox Command Line Mode Graphical Mode Install VirtualBox Extension Pack Conclusion SHARE THIS DOCUMENT IS ALSO AVAILABLE FOR CentOS 8 CentOS 7 Debian 10 Debian 9 Linux Mint 20 Ubuntu 18.04 Ubuntu 16.04 VirtualBox is a free and open-source hypervisor software that allows you to create and run virtual machines of Linux, Windows, Solaris, BSD operating system. It can ben be installed on Linux, Windows, Solaris, OS X, and OpenSolaris. VirtualBox is released under GPL v2, and the Oracle VM VirtualBox extension pack is released under PUEL (Personal Use and Evaluation License). Here, we will see how to install VirtualBox on Ubuntu 20.04. Install VirtualBox on Ubuntu 20.04 Add VirtualBox Repository Import the Oracle VirtualBox public signing key on your system using the following command. wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - Then, add the VirtualBox repository on to your system. echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian focal contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list Install VirtualBox Update the Ubuntu package database. sudo apt update Install the VirtualBox using the apt command. If your Ubuntu system has UEFI secure boot enabled, you may need to configure secure boot and enroll MOK key in your system's firmware. sudo apt install -y virtualbox-6.1 After the installation, check the VirtualBox Linux kernel module service status. sudo systemctl status vboxdrv Output: ● vboxdrv.service - VirtualBox Linux kernel module Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; enabled; vendor preset: enabled) Active: active (exited) since Thu 2020-05-28 17:53:15 EST; 1min ago Process: 1416 ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, status=0/SUCCESS) May 28 17:54:42 ubuntu2004 systemd[1]: Starting VirtualBox Linux kernel module... May 28 17:54:42 ubuntu2004 vboxdrv.sh[1416]: vboxdrv.sh: Starting VirtualBox services. May 28 17:54:42 ubuntu2004 vboxdrv.sh[1421]: Starting VirtualBox services. May 28 17:54:42 ubuntu2004 vboxdrv.sh[1438]: VirtualBox services started. May 28 17:54:42 ubuntu2004 systemd[1]: Started VirtualBox Linux kernel module. NOTE: UEFI Secure Boot Enabled If you have an Ubuntu system with UEFI secure boot enabled, during the VirtualBox installation, the system will ask you to set a password (If not already set during the OS installation or MOK is not enrolled after the OS installation) and that can be used at the time of enrolling Machine-Owner key (MOK) in your system’s firmware. Click OK on configuring secure boot wizard. Configure Secure Boot Set a password for secure boot. Set Password For Secure Boot Enter the password again to confirm the password. Confirm Password Reboot the system. sudo reboot Upon system reboot, you will need to perform MOK management. Choose Enroll MOK » Continue » Yes » Enter Password (you have set earlier) » Reboot. Wait for the system to come up after a reboot and then start VirtualBox. Access VirtualBox Start the VirtualBox Command Line Mode virtualbox OR Graphical Mode Ubuntu 20:04: Activities » Search for Oracle VM VirtualBox. Start VirtualBox VirtualBox 6.1 Running on Ubuntu 20.04: VirtualBox running on Ubuntu 20.04 Install VirtualBox Extension Pack Oracle offers an extension pack to add additional functionalities such as USB 2.0/3.0, Disk encryption, VirtualBox Remote Desktop Protocol (VRDP) support, Intel PXE boot ROM, Host webcam passthrough, and PCI passthrough to the VirtualBox base installation. READ: How To Install Oracle VM VirtualBox Extension Pack on Ubuntu 20.04 Conclusion That’s All. I hope you learned how to install VirtualBox on Ubuntu 20.04. Please share your feedback in the comments section. ubuntu-20.04 virtualbox Prev Post How To Install Cacti on Ubuntu 20.04 Next Post How To Install NTP (Chrony) On CentOS 8 / CentOS 7 & RHEL 8 / RHEL 7 RELATED POSTS How To Install VirtualBox Guest Additions On Ubuntu 20.04 How To Upgrade To Ubuntu 20.04 From Ubuntu 18.04 / Ubuntu 19.10 [Detailed Guide] How To Install Cacti on Ubuntu 20.04 How To Install Nextcloud on Ubuntu 20.04 How To Update Ubuntu 20.04 LTS How To Install Zabbix 5.0 On Ubuntu 20.04 Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus RECENT POSTS How To Install VirtualBox On Linux Mint 20 How To Backup and Restore Ubuntu & Linux Mint With Timeshift How To Upgrade To Linux Mint 20 From Linux Mint 19 [Detailed Guide] How To Install KVM On Ubuntu 20.04 / Linux Mint 20 How To Install Plex Media Server On Ubuntu 20.04 / Linux Mint 20 How To Install Android Studio on Ubuntu 20.04 TOP POSTS Install xrdp on CentOS 7 / RHEL 7 Install Gnome GUI on CentOS 7 / RHEL 7 Change default network name (ens33) to old “eth0” on Ubuntu… Install μTorrent (uTorrent) on Ubuntu 14.04 How To Configure High-Availability Cluster on CentOS 7 /… How To Install and Configure VNC Server in CentOS 7 / RHEL 7