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

Share it:
Install Oracle Virtualbox 5.2 On Ubuntu 17.04  / LinuxMint / Fedora 26

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


This version of Virtualbox 5.2 is a major update and provides security updates and cumulative bug fixes.

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 operating systems

Changelog in VirtualBox 5.2

  • VM export to Oracle Cloud Infrastructure Classic (OCI Classic) format
  • Automatic, unattended guest OS installation for Oracle VM VirtualBox Virtual Machines
  • Improved Virtual Machine Tools, including a new dynamic interface to manage Virtual Machine configuration and snapshot capabilities

New Global Tools handling
  • Virtual Media Manager manages media attributes like size, location, type and description
  • Host Network Manager simplifies managing corresponding networks and their attributes
GUI accessibility
  • New GUI icons for VirtualBox on all platforms (Windows, Linux, Oracle Solaris and Mac OS X)
  • Enhanced Virtual Machine Selector
  • Extended audio settings, with the option to enable/disable audio input/output
  • Snapshot Pane updates allow easier management of snapshot attributes, like name and description
Audio
  • Device enumeration support for audio backends (optional)
  • Support for host device callbacks (optional) and further enhancements
  • HDA emulation now uses asynchronous data processing in separate threads
Storage
  • Support for CUE/BIN images as CD/DVD media including multiple tracks
  • Support for the controller memory buffer feature for NVMe

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-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 in Ubuntu
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.0-118431~Ubuntu~zesty_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)
Install Oracle Virtualbox 5.2 On Ubuntu 17.04  / LinuxMint / Fedora 26  
Share it:

Post A Comment: