Oracle Virtualbox has just reached a new major 5.1 release. Here’s how to install it in Ubuntu 16.04.
Virtualbox 5.1 ports its UI to Qt5, brings better Python 3 support, HDA (High Definition Audio) support for newer Linux guests, various VMM and other improvements and fixes.
Virtualbox release highlights:
- VMM: new APIC and I/O APIC implementations that result in significantly improved performance in certain situations
- VMM: added support for Hyper-V paravirtualized debugging of Windows guests
- VMM: emulate even more MMIO and shadow pagetable exits without going back to user mode
- GUI: overall migration to Qt5
- GUI: passive API event listener improving the VM GUI performance and response time
- Audio: added HDA (High Definition Audio) support for newer Linux guests
- Audio: added on-demand timers which should improve the overall performance and reduce the CPU consumption
- Audio: more fine-grained volume control for the AC’97 emulation, which now also takes the master volume control into account
- better support for Python 3
- For more details, see the ChangeLog.
How to install Virtualbox 5.1 in Ubuntu:
1. The 5.1 release conflicts with the old 5.0 or 4.x releases, so first open terminal (Ctrl+Alt+T) and run command to remove the previous VBox installation:
sudo apt remove virtualbox virtualbox-5.0 virtualbox-4.*
2. Download Virtualbox 5.1 for your OS (i386=32bit, amd64=64bit):
Then click install via Ubuntu Software.
3. For those who want to install VBox 5.1 from official Linux repository and receive future updates via Software Updater. Run the commands below one by one in terminal:
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list' wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - sudo apt update sudo apt install virtualbox-5.1
According to your Ubuntu codename, replace xenial with wily, trusty, or precise.