Install Oracle Virtualbox 5.1.24 On Ubuntu 17.04 / LinuxMint

Share it:
Install Oracle Virtualbox 5.1.24 On Ubuntu 17.04  / LinuxMint

This tutorial shows how you can install Oracle Virtualbox 5.1.24 On Ubuntu 17.04 / 16.04 LTS / 14.04 LTS and Linux Mint.


Virtualbox is an Open source application for running operating systems virtually in your base system, with this application you can create and run multiple Operating systems virtually on your PC. 

Virtualbox available for Multiple operating systems (ie) windows,Solaris,MacOS-X, and Linux

Changelog in VirtualBox 5.1.24


  • VMM: mask the VME CPUID capability on AMD Ryzen processors for now to make certain guests works, for example, Windows XP
  • VMM: emulate more SSE2 instructions
  • VMM: properly clear the TF and AC flags when dispatching real-mode interrupts
  • GUI: fixes to make the mini-toolbar work with recent versions of KDE / Plasma
  • GUI: fixed a potential crash when a VM with multiple screens is running in full screen / seamless mode and a host screen is removed, for example when connecting to the host via RDP
  • GUI: fixed initial size hints for guests which set intermediate sizes before responding
  • GUI: prevent stopped screen updates or black screen on reboot in a multi-screen setup under certain conditions
  • Audio: many improvements for Windows 10 guests
  • Storage: fixed possible crash when using Intels SPDK
  • API: use the correct file name of the VM machine state if the VM settings directory is renamed, for example during grouping / ungrouping a VM
  • API: return the correct error code if powering up a VM fails
  • API: video recording did not automatically start at VM start when enabled in the VM settings
  • API: when relocating a medium, check that the target path is fully qualified
  • EFI: fix for VMs with more than 3504MB RAM
  • Host-only adapter: correctly determine IPv4 netmasks on Windows hosts
  • NAT network: properly do the refcounting for starting / stopping the NAT / DHCP services if the NAT network is changed while the adapter network connection type is anything else but NAT network
  • VBoxManage: fixed controlvm videocapfile
  • Windows hosts: fixed crashes if driver verifier is enabled
  • Linux / Mac OS X hosts: more fixes for loading shared libraries (5.1.20 regression)
  • Linux hosts / guests: Linux 4.12 fixes
  • Linux hosts/guests: reduce the kernel stack consumption for Linux kernels with CONFIG_CPUMASK_OFFSTACK defined
  • Linux hosts / guests: fixes for kernel modules built with gcc-7
  • Linux hosts / guests: Linux 4.13 fix
  • Linux hosts: don't depend on net-tools on newer distributions as this package is deprecated in favour of iproute.
  • Linux hosts: make 2D video acceleration available for older Linux distributions (5.1 regression)
  • Linux Additions: fix for dynamic resizing with Oracle Linux 6 with UEK4
  • Linux Additions: make Fedora 25 and 26 Alpha work when 3D pass-through is enabled
  • Linux Additions: no longer recommend removing distribution- installed Additions if they are updated to our guidelines

Installation steps

Two ways to install Virtualbox on Ubuntu / LinuxMint
  • Method 1: Via PPA
  • Method 2: Via deb file

Method 1: Via PPA

Step 1: Before installing the new version, we need to remove the older using the software center or use the below command
sudo apt-get remove VirtualBox virtualbox-4.* virtualbox-5.0
Step 2: Add the Packages list to sources.list
$sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list"
Note: LinuxMint and elementary OS users have to replace the name manually in place of $(lsb_release -cs).

Step 3: Download and install the Key for Virtualbox
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - 
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
Step 3: Update the Repository
sudo apt-get update
Step 4: Install Virtualbox 5.1.24
sudo apt-get install virtualbox-5.1

Method 2: Via deb file

If you are not comfortable with the PPA for installing the Virtualbox, then manually download the deb file and install it.

Step 1: Download the deb files from here according to your distribution

Step 2: Install the deb file
dpkg -i virtualbox-5.1_5.1.24-117012-Ubuntu-zesty_amd64.deb
Share it:

Post A Comment: