VirtualBox 5.2.20 Released — Here’s How to Install / Upgrade on Ubuntu 16.04 | 18.04 | 18.10

A new maintenance release of VirtualBox virtualization software (5.2.20) is now available for download… and this brief tutorial shows you how to install / upgrade to it on Ubuntu 16.04 | 18.04 and Ubuntu 18.10 systems…..

This release brings some bug fixes and few additions… Some of the fixes include, a fix for task switches triggered by INTn instruction, a fix for connecting to certain iSCSI targets, various build fixes for kernel modules on recent distributions, and made sure modules end up in initramfs files and more…

For more about this released, please check  its changelog page

VirtualBox gets new updates very frequently on Windows and Linux systems… so if you want to consistently get these updates when they become available, you’ll want to add VirtualBox repository to your systems… doing that will make all future updates available to your systems immediately…

A complete list of fixes are listed below:

  • VMM: fixed task switches triggered by INTn instruction
  • Storage: fixed connecting to certain iSCSI targets
  • Storage: fixed handling of flush requests when configured to be ignored when the host I/O cache is used
  • Drag and drop: implemented support for UNC paths
  • Drag and drop: fixed resuming operation when restoring from a saved state
  • Drag and drop: fixed copying files with long file names (> 248 characters) from guests to Windows hosts
  • Drag and drop: fixed handling files with Unicode names on Windows guests
  • Drag and drop: fixed copying empty (0-byte) files to / from guests
  • Drag and drop: fixed copying over files from hosts to Linux guests
  • Networking: restore connectivity for guests bridged to host adapters that were unavailable temporarily
  • Guest Control: fixed hang when using –wait-stdout and/or –wait-stderr Needs updating Guest Additions
  • Video recording: fixed starting video recording on VM power up
  • Linux Additions: various build fixes for kernel modules on recent distributions, and made sure modules end up in initramfs files
  • Linux Additions: build fixes for 4.19, thank you Larry Finger
  • Linux Additions: various small fixes for video driver

To install or Upgrade VirtualBox software on Ubuntu, do the steps below:

Step 1: Add VirtualBox Repository

If you want to always get the latest versions of VirtualBox when they become available, you’ll want to add its software repository to Ubuntu…

Run the commands below to add the repository key to your system…

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

After adding the repository key above, run the commands below to add VirtualBox package repository…

sudo sh -c 'echo "deb $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

After that, run the commands below to update Ubuntu repositories..

Step 2: Installing VirtualBox

At this point, the Ubuntu system should be ready to install the latest version of VirtualBox…

First you may want to remove older versions of the software if you’re still running it… to do that, run the commands below:

sudo apt remove virtualbox virtualbox-5.1

Finally, run the commands below to install the latest 5.2 (major) version of the software.

sudo apt update
sudo apt-get install virtualbox-5.2

Step 3: Install VirtualBox Extension Pack

After installing VirtualBox.. the next step will be to install the extension pack… to do that, go to its download page by clicking the link below… the select the supported extension for the current platform..

When prompted, select to open with Oracle VM VirtualBox (default)

VirtualBox ubuntu install

Then click Install

VirtualBox ubuntu upgrade

Scroll down and accept the licensing terms and complete the installation…. when you’re done… you should have the latest version of VirtualBox installed after running the above commands… Now go to search for the package and launch it.

VirtualBox ubuntu install



You have successfully installed VirtualBox virtualization software on Ubuntu 16.04 | 18.04 and 18.10… If you need more tutorials on Ubuntu, please check back later…

You may also like the post below:


  1. Danesh Manoharan

    18.10 is not ready yet.

  2. Please also take a look at our licensing FAQ, in particular regarding the use of the name VirtualBox.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.