VirtualBox 5.2 On Ubuntu System 16.04 LTS Server (Headless)

When it’s important to check a number of working techniques and software program on completely different platforms, VirtualBox is a software to have. It’s a cross-platform virtualization software program that permits you to run visitor working system inside a home windows of the host laptop. The visitor machine can Home windows, Linux or Mac working techniques.


VirtualBox is a robust software that I’d suggest each IT scholar to obtain and set up to create digital labs. These labs generally is a self-contained environments the place you may check completely different functions and settings.



This temporary tutorial exhibits college students and new customers learn how to set up VirtualBox on Ubuntu 16.04 LTS servers. Should you’re studying this put up then you definitely in all probability know a factor or two about VirtualBox.


To put in VirtualBox on Ubuntu servers, observe the steps beneath

Step 1: Replace Ubuntu

Earlier than putting in VirtualBox, run the instructions beneath to replace the Ubuntu server.

sudo apt-get replace && sudo apt-get dist-upgrade && sudo apt-get autoremove


Step 2: Set up Required Linux Headers

Now that your system is up to date, run the instructions beneath to put in required Ubuntu linux headers.

sudo apt-get -y set up gcc make linux-headers-$(uname -r) dkms


Step 3: Add VirtualBox Repository and key

After putting in the required package deal above, run the instructions beneath to put in VirtualBox repository key.

wget -q -O- | sudo apt-key add -
wget -q -O- | sudo apt-key add -

Subsequent run the instructions beneath so as to add VirtualBox repository to your system.

sudo sh -c 'echo "deb $(lsb_release -sc) contrib" >> /and so forth/apt/sources.checklist'


Step 4: Set up VirtualBox

After including the repository and key, run the instructions beneath to put in VirtualBox 5.2. On the time of this writing the most recent model of the software program was 5.2. If there are newer variations accessible, please exchange the 2 beneath with the present newest.

sudo apt-get replace
sudo apt-get set up virtualbox-5.2

To confirm if VirtualBox is put in, run the instructions beneath.

VBoxManage -v


Step 5: Set up VirtualBox Extension Pack

Everytime you put in VirtualBox be certain to put in the extension pack as nicely. The pack permits VRDP (Digital Distant Desktop Protocol) and lots of different enhancements.

To put in it, run the instructions beneath

curl -O
sudo VBoxManage extpack set up Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.vbox-extpack

Conform to the phrases and set up.

Run the instructions beneath to view the extension pack put in.

VBoxManage checklist extpacks

The outcomes ought to appear to be the one beneath:

richard@ubuntu1604:~$ VBoxManage checklist extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Model:      5.2.4
Revision:     119785
Description:  USB 2.Zero and USB 3.Zero Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true
Why unusable:


That is learning how to set up VirtualBox on Ubuntu 16.04 LTS servers

Get pleasure from!

In our subsequent put up, we’ll present you learn how to create new visitor machines from the command line in VirtualBox. Till then, please keep tuned.

Be the first to comment

Leave a Reply

Your email address will not be published.