This tutorial will help you to install Oracle Virtualbox 6.0.6 On Ubuntu 18.04 LTS / Linux Mint and Fedora. Virtualbox is an Open sourc...

This tutorial will help you to install Oracle Virtualbox 6.0.6 On Ubuntu 18.04 LTS / Linux Mint and Fedora.
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 6.0.6
- Virtualization core: nested AMD virtualization fixes
- User interface: fixed copying directories in file manager
- User interface: fixed operation progress in file manager when copying content
- User interface: fixed operation progress when deleting snapshots
- User interface: fixed unattended installation of recent Ubuntu guests
- User interface: various additional improvements
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 commandsudo apt-get remove virtualbox virtualbox-5.*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 updateStep 5: Install Virtualbox 6.0.6
sudo apt-get install virtualbox-6.0
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-6.0_6.0.6-130049~Ubuntu~bionic_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
Step 3: If you got any error while installation regarding KERN_DIR do the below steps
dnf install VirtualBox-6.0
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)
COMMENTS