
Note that the version of VirtualBox in the repositories may not be the latest and greatest.

This method works whether you’re using Ubuntu Desktop or Server. The easiest way to install VirtualBox on Ubuntu is to use the APT package manager. The base repositories for Ubuntu 20.04 include VirtualBox, but it doesn’t come installed by default. Installing VirtualBox on Ubuntu 20.04 via APT

If you use a non-root user, prepend sudo on each command in this tutorial. A user account with sudo privileges – This tutorial uses a root account, but you can also use a regular account with sudo privileges.If you’d like to follow along, be sure you have the following:

This tutorial will be a hands-on demonstration. Increasing VM’s Video Memory (VRAM) to Improve Performance.Installing VirtualBox from Oracle’s Official Repository.

Installing VirtualBox on Ubuntu 20.04 via APT.Personal Use and/or Educational Use expressly exclude any use of the Product for commercial purposes or to operate, run, or act on behalf of or for the benefit of a business, organization, governmental organization, or educational institution. “Evaluation” means testing the Product for up to thirty (30) days after expiry of that term, you are no longer permitted to use the Product. “Educational Use” is any use by teachers or students in an academic institution (schools, colleges and universities) as part of the institution’s educational curriculum. “Personal Use” is noncommercial use solely by the person downloading the Product from Oracle on a single Host Computer, provided that no more than one client or remote computer is connected to that Host Computer and that client or remote computer is used solely to remotely view the Guest Computer(s). Oracle grants you a personal, non-exclusive, non-transferable, limited license without fees to reproduce, install, execute, and use internally the Product on Host Computers for your Personal Use, Educational Use, or Evaluation. You should consider the license for the Extension Pack though: § 2 Grant of license. I've been using the VirtualBox packages created by AutoPkgr recipe and they deploy properly.
