Install VirtualBox 5.2.8 on Ubuntu 17.10

VirtualBox Logo

VirtualBox is a popular cross-platform virtualization tool, with which we can virtualize any operating system (guest) from our operating system (host). With the help of VirtualBox we have the ability to test any OS without having to reformat our equipment.

Among the operating systems that VirtualBox supports are GNU / Linux, Mac OS X, OS / 2, Windows, Solaris, FreeBSD, MS-DOS, and many others. With which we can not only test different systems, but also We can also take advantage of virtualization to test hardware and applications in another system that is not ours.

Today VirtualBox is in its latest version 5.2.8, brings numerous improvements among which we found direct support for Linux kernel 4.15. Perhaps some of the most interesting is that the necessary corrections have already been made for the 3D options that caused various bugs.

For Linux, several improvements have already been planted, such as the one that commented on the support for the latest Kernel, also fixed the bug that made the VirtualBox window It will automatically resize when you change the screen size.

We also found several corrections in audio and video, of the other improvements that we find in virtualbox are the following:

  • Other notable changes and improvements that are included in the Virtualbox 5.2.8 release include:
  • Support for FSGSBASE, PCID, INVPCID CPU functions for guests
  • Improved automatic window resizing on HiDPI displays
  • Solution for a smooth integration mode regression
    Fixed crash when opening new machine wizard.
  • Added support for distinguishing recording sources in the PulseAudio mixer on the host when running multiple virtual machines.
  • Storage: Fixed overwriting of certain query data for DVD / CD drive connected to AHCI controller.
  • Storage: Fixed Managed VMDK Images Created by Amazon EC2 VM Export
  • Network: PXE boot regression fixed on e1000
  • Network - Added workaround for older guests that does not enable bus domain for virtio PCI device
  • DirectSound backend improvements
  • Best file looking support for recorded files in Firefox
  • HDA emulation on Windows guests
  • Fix for black screen when 3D is enabled on Linux guests
  • Suppress setuid, setgid on shared folders on Linux guests

How to install VirtualBox 5.2.8 on Ubuntu?


If you already have a version of this software installed on your computer and you want to update to this version I recommend that you uninstall the one you have to avoid problems, for this we must open a terminal and execute the following command:

sudo apt-get remove virtualbox

sudo apt-get purge virtualbox

Now we proceed to install the new version, we continue in the terminal and execute the following commands:
First we must add the repository to our sources.list

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

Now we proceed to import the public key:

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

We add it to the system:

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

Now we proceed to update our list of repositories:

sudo apt-get update

It is extremely important to have the following, so that we guarantee the operation of VirtualBox:

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

And finally we proceed to install the application to our system:

sudo apt-get install virtualbox-5.2

Now to verify that the installation was done:

VBoxManage -v

As an additional step we can improve the functioning of VirtualBox With the help of a package, this package enables VRDP (Virtual Remote Desktop Protocol), solves the problem with the small resolution that VirtualBox runs, and many other improvements.

To install it, run the following commands:

curl -O
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.8-121009.vbox-extpac

We accept the terms and conditions and install the package.

To verify that it was installed correctly:

VBoxManage list extpacks

And ready with it, we already have VirtualBox installed on our system, you just have to go to your application menu and run it. Now it only remains for you to take advantage of the benefits that this great program offers us.

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

A comment, leave yours

Leave a Comment

Your email address will not be published.



  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Edu said

    Good morning,
    I currently have Windows XP installed on my computer. I have thought about putting some Linux OS on a different partition or hard drive. If I install the virtual box under Linux. Do I need to reinstall Window XP or can I make it use the existing one on a partition or hard drive? What I don't want is to have to reinstall all the programs that run under XP.
    What Ubuntu and virtual box do you recommend?
    Thank you very much