Install Oracle VirtualBox 5.2.6 On Ubuntu 16.04 / LinuxMint / Fedora 27

Share it:
This tutorial shows how you can install Oracle Virtualbox 5.2.6 On Ubuntu 17.04 / 16.04 LTS / 12.04 LTS, Linux Mint and Fedora 26/27

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

  • GUI: fixed occasional screen corruption when host screen resolution is changed
  • User interface: increase proposed disk size when creating new VMs for Windows 7 and newer
  • User interface: various improvements for high-resolution screens
  • VMM: Fixed problems using 256MB VRAM in raw-mode VMs
  • Audio: implemented support for audio playback and recording for macOS guests
  • Audio: further timing improvements for Windows 10 guests
  • Linux hosts: fixed problem accessing mini-toolbar under XFCE (bug #17280, contributed by Dusan Gallo)

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 3: Update the Repository
sudo apt-get update
Step 4: Install Virtualbox 5.2.6
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.6-120293~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: