Ubuntu 18.04
Sponsored Link

VirtualBox : Install2018/12/07

 
Install Oracle VM VirtualBox to configure Virtualization Environment.
[1] Install required packages.
root@dlp:~#
LINUX_HEADERS=$(uname -r)

root@dlp:~#
apt -y install gcc make linux-headers-$LINUX_HEADERS dkms

[2] Install VirtualBox 5.2.
root@dlp:~#
vi /etc/apt/sources.list
# add to the end

deb https://download.virtualbox.org/virtualbox/debian bionic contrib
root@dlp:~#
apt update

root@dlp:~#
wget https://www.virtualbox.org/download/oracle_vbox_2016.asc

root@dlp:~#
apt-key add oracle_vbox_2016.asc

OK
root@dlp:~#
apt -y install virtualbox-5.2
root@dlp:~#
VBoxManage -v

5.2.22r126460
[3] Install extension pack to use VRDP (Virtual Remote Desktop Protocol).
# confirm installed version

root@dlp:~#
dpkg -l virtualbox-5.2

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  virtualbox-5.2 5.2.22-12646 amd64        Oracle VM VirtualBox

# download the same version of extension pack

root@dlp:~#
curl -O http://download.virtualbox.org/virtualbox/5.2.22/Oracle_VM_VirtualBox_Extension_Pack-5.2.22.vbox-extpack
root@dlp:~#
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.22.vbox-extpack

.....
.....
Do you agree to these license terms and conditions (y/n)? y

License accepted. For batch installaltion add
--accept-license=56be48f923303c8cababb0bb4c478284b688ed23f16d775d729b89a2e8e5f9eb
to the VBoxManage command line.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".

root@dlp:~#
VBoxManage list extpacks

Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      5.2.22
Revision:     126460
Edition:
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true
Why unusable:
Matched Content