Installing VirtualBox on Linux Hosts

Currently, Oracle VirtualBox runs on the following Linux host OSes:

  • Linux hosts (64-bit). Includes the following:
    • Ubuntu 18.04 LTS, 19.03 and 19.10
    • Debian GNU/Linux 9 ("Stretch") and 10 ("Buster")
    • Oracle Linux 6, 7 and 8
    • CentOS/Red Hat Enterprise Linux 6, 7 and 8
    • Fedora 30 and 31
    • Gentoo Linux
    • SUSE Linux Enterprise server 12 and 15
    • openSUSE Leap 15.1

In this example I will be downloading and installing:
virtualbox-6.1_6.1.38-153438~Ubuntu~focal_amd64.deb

You will need to download the VBoxGuestAdditions_6.1.38.iso file - as this will be used later.

Installing VirtualBox on Linux mint

To install VirtualBox from the .deb package use the following command as root user:

root@hp-compaq-b:/home/keith/Downloads/virtualbox-6.1.38# dpkg -i virtualbox-6.1_6.1.38-153438~Ubuntu~focal_amd64.deb  <br>Selecting previously unselected package virtualbox-6.1. <br>(Reading database ... 535814 files and directories currently installed.) <br>Preparing to unpack virtualbox-6.1_6.1.38-153438~Ubuntu~focal_amd64.deb ... <br>Unpacking virtualbox-6.1 (6.1.38-153438~Ubuntu~focal) ... <br>Setting up virtualbox-6.1 (6.1.38-153438~Ubuntu~focal) ... <br>Adding group `vboxusers' (GID 137) ... <br>Done. <br>Processing triggers for systemd (245.4-4ubuntu3.18) ... <br>Processing triggers for desktop-file-utils (0.24+linuxmint1) ... <br>Processing triggers for mime-support (3.64ubuntu1) ... <br>Processing triggers for hicolor-icon-theme (0.17-2) ... <br>Processing triggers for shared-mime-info (1.15-1) ... <br>root@hp-compaq-b:/home/keith/Downloads/virtualbox-6.1.38#<br>

After installing VirtualBox, it can be run from a terminal as a normal user with:

$ virtualbox

Related Links: