VirtualBox Reached 5.2 Major Release (How-to Install)

October 19, 2017 — 5 Comments


Oracle VirtualBox reached the new major 5.2 release series with great new features and various bug-fixes and improvements.

New Features in VirtualBox 5.2:

  • export VM to Oracle Cloud.
  • Unattended guest installation, similar to VMware’s “Easy Install”
  • Overhauled VM selector GUI (improved tools VM / global tools handling, new icons)
  • Added experimental audio support for video recording
  • Fixed warning about “XSAVE consistency problem”.
  • Virtual Media Manager and Snapshot Pane rework
  • Ability to enable/disable audio input/output, and more audio settings.
  • Better EFI video mode handling, and support custom video modes
  • See changelog for more.

How to Install Virtualbox 5.2 in Ubuntu:

1. Open terminal via Ctrl+Alt+T or from application launcher. Remove old Virtualbox via command:

sudo apt-get remove virtualbox virtualbox-5.1

2. Download & install the latest Virtualbox package from the link below:

Download VirtualBox for Linux

3. If you’ve added the Oracle VBox repository, you can directly install the 5.2 release from Synaptic Package Manager or via apt command, after removing the old version.

To add the repository, do:

Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'

Depends your Ubuntu edition, replace xenial (for Ubuntu 16.04) with trusty (for 14.04, Mint 17.x, eOS 0.3), or zesty (for Ubuntu 17.04).

Virtualbox Official Linux repository

Setup the keyring so to trust the updates from the repository:

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

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

Finally install virtualbox 5.2 via commands:

sudo apt-get update

sudo apt-get install virtualbox-5.2

With the repository added, you can simply install the future 5.2 series updates via Software Updater.

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to

5 responses to VirtualBox Reached 5.2 Major Release (How-to Install)

  1. I got the following (on Xenial):

    sudo apt-get install virtualbox-5.2
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies.
    virtualbox-5.2 : Depends: libpng12-0 (>= 1.2.13-4) but it is not installable
    Depends: libvpx3 (>= 1.5.0) but it is not installable
    Recommends: libsdl-ttf2.0-0 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

  2. Same here

  3. The vboxdrv kernel module is not loaded. Either there is no module
    available for the current kernel (4.13.0-16-generic) or it failed to
    load. Please recompile the kernel module and install it by

    sudo /sbin/vboxconfig

    You will not be able to start VMs until this problem is fixed.

    i tryed to run command with no luck

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>