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

Share it:

This tutorial shows how you can install Oracle Virtualbox 5.2.4 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.4

  • User interface: Adjusting desktop file for X11 window managers.
  • User interface: various high-resolution display adjustments
  • Audio: fixed SB16 volume handling (5.2 regression)
  • Audio: various fixes
  • USB/OHCI: fixed a problem where OHCI emulation might sporadically drop data transfers
  • Linux hosts: fixed screen corruption when the host screen changes and a virtual machine window is maximized
  • X11 Guest Additions: fixed a hang at the GNOME Shell login screen with 3D enabled

Installation steps

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.*
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.4
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.4-119785_Ubuntu_xenial_amd64.deb


Install VirtualBox on Fedora

Step 1: Add the below Virtualbox repo
[virtualbox-repo]
name=Fedora $releasever - $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=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: