After adding the repository and key, run the commands below to install VirtualBox . At the time of this writing the latest version of the software was 5.2. If there are newer versions available, please replace the 2 below with the current latest.
To verify if VirtualBox is installed, run the commands below.
VBoxManage -v
Step 5: Install VirtualBox Extension Pack
Everytime you install VirtualBox make sure to install the extension pack as well. The pack enables VRDP (Virtual Remote Desktop Protocol) and many other enhancements.
To install it, run the commands below
Agree to the terms and install.
Run the commands below to view the extension pack installed.