Virtualbox 6.0.4 Released with Linux Kernel 5.0 Support

January 28, 2019


Oracle Virtualbox released version 6.0.4 a few hours ago with support for building with Linux 5.0 kernel modules, and Shanghai Zhaoxin CPUs.

Besides that, Virtualbox 6.0.4 also features:

  • Handle command line arguments to VirtualBox correctly
  • Improvements to machine manager window, virtual optical disk creator, storage selector window and log viewer window
  • Various small fixes and improvements
  • Implemented time scheduling for the AC’97 device emulation to keep audio and video in sync
  • Basic support for VMSVGA graphics device in virtual machines using EFI
  • Fix occasional NATNet crashes
  • Worked around problems in certain PCnet drivers on old operating systems
  • Fixed connecting to pseudo terminals on POSIX hosts

How to Install Virtualbox 6.0.4 in Ubuntu:

For all current Ubuntu releases, you can either download the official .deb binary from the link below:

Download Virtualbox for Linux

or install VBox from its official apt repository:

1. Open terminal (Ctrl+Alt+T), paste below command and run to add the repository:

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

For Linux Mint, you HAVE to replace $(lsb_release -sc) in the command with bionic for Mint 19.x, or xenial for Mint 18.x.

2. Then download and install the repository key via command:

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

3. Refresh system package cache via command:

sudo apt update

4. Finally install Virtualbox 6.0:

sudo apt install virtualbox-6.0


To remove it, simply run command in terminal:

sudo apt remove --autoremove virtualbox-6.0

And go to Software & Updates -> Other Software to remove apt repositories.

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

One response to Virtualbox 6.0.4 Released with Linux Kernel 5.0 Support

  1. Once again – this happened with a previous recent release – updating from the previous release to this one, on Mint, threw an error (and, because, presumably, of problems with the ‘Gdebi’ package – for I installed from the .deb), the error message was very hard to read.

    Still, unlike the previous time I had this problem, at least the old (previously installed) version of VirtualBox would run, i.e. my whole VirtualBox installation was not hosed.