Install Oracle VirtualBox 5.2.2 On Ubuntu 17.04 / LinuxMint / Fedora 26

Share it:

This tutorial shows how you can install Oracle Virtualbox 5.2.2 On Ubuntu 17.04 / 16.04 LTS / 12.04 LTS, Linux Mint and Fedora 26

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.2.2


  • User interface: various improvements for high-resolution screens
  • User interface: added functionality to duplicate optical and floppy images
  • User interface: various improvements for the virtual media manager
  • VMM: fixed emulation so that Plan 9 guests can start once more (5.1.0 regression)
  • Storage: fixed regression breaking iSCSI
  • Audio: added HDA support for more exotic guests (e.g. Haiku)
  • Serial: fixed hanging I/O when using named pipes on Windows
  • Serial: fixed broken communication with certain devices on Linux hosts
  • USB/OHCI: improved behavior so that the controller state after a VM reset is closer to the initial after VM start
  • EFI: fixed HFS+ driver which in rare cases failed to access most files on a volume
  • Shared clipboard: fixed hang with OS X host and Linux guest
  • Linux hosts: fixed kernel module compilation and start failures with Linux kernel 4.14
  • X11 hosts: better handle WM_CLASS setting
  • Linux guests: fixed kernel module compilation and other problems with Linux kernel 4.14
  • Linux guests: fixed various 5.2.0 regressions
  • Bridged networking: fixed duplicate EtherType in VLAN/priority tags on Linux

Installation steps

Install Virtualbox 5.2.2 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.*
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 4: Update the Repository
sudo apt-get update
Step 5: Install Virtualbox 5.2
sudo apt-get install virtualbox-5.2

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.2_5.2.2-119230~Ubuntu~xenial_amd64.deb

Install VirtualBox on Fedora

Step 1: Add the below Virtualbox repo
[virtualbox-repo]name=Fedora $releasever - $basearch - VirtualBoxbaseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearchenabled=1gpgcheck=1repo_gpgcheck=1gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc
Step 2: Install the Virtualbox
dnf install VirtualBox-5.2
Step 3: If you got any error while installation regarding KERN_DIR do the below steps
dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms
dnf install kernel-headers-$(uname -r)

Share it:

Post A Comment: