Ubuntu 19.04: Install VirtualBox for virtualization

This article will describe installing VirtualBox.

1 Install VirtualBox

Install virtualbox package. virtualbox-ext-pack needs license agreement.

#!/bin/sh -e

cat <<EOF | sudo debconf-set-selections
virtualbox-ext-pack virtualbox-ext-pack/license boolean true
EOF
sudo apt install -y virtualbox virtualbox-guest-additions-iso \
     virtualbox-ext-pack

2 Run VirtualBox

Run virtualbox command.

$ virtualbox

0001_VirtualBox.png