Installing Virtualbox on Ubuntu 18.04.1 LTS


Posted On: Feb 22, 2018

Installing Virtualbox on Ubuntu 18.04.1 LTS


VirtualBox is one the powerful open source, cross-platform virtualization software for x86 and AMD64/Intel64 machine. You can install it on any operating system like Windows, Mac, Linux, and Solaris.

VirtualBox is developed by Oracle Corporation and written in C, C++, x86 assembly language. VirtualBox allows you to create and run multiple virtual machines on a single computer.

Here in this tutorial, we see how to install VirtualBox on Ubuntu and add VirtualBox Repository Key to get all future updates available to your systems.

Here is step by step guide to install VirtualBox on Ubuntu 18.04 LTS, 16.04 LTS OS.

Step1 - Prerequsities

In order to perform installation and updates on Ubuntu, you must be logged on the server using root or sudo privileged user. Once you logged in please run below command to system packages to latest.

sudo apt-get update
sudo apt-get upgrade

Step2 - Configuring Apt Repository Key

Run below commands to import the Oracle public key on your machine. It allows the Ubuntu system to authenticate and validate the packages that are going to be downloaded from the repository.

 wget -q -O- | sudo apt-key add -
 wget -q -O- | sudo apt-key add -

Step3 - Add Oracle VirtualBox PPA

Run below command on the terminal to add Oracle VirtualBox PPA

sudo add-apt-repository "deb `lsb_release -cs` contrib"

Step4 - Installing Oracle VirtualBox 5.2

Once you have completed the step 2 and 3 now time to install VirtualBox on Ubuntu. Run below command to install it.

sudo apt-get update
sudo apt-get install virtualbox-5.2

Step5- Launching VirtualBox on Ubuntu

Once the installation process is completed you can launch VirtualBox by typing below command on terminal.



After reading this article you are able to install and configure VirtualBox 5.2 on Ubuntu server. If you face any problem then please comment I will happy to help you.

    Please Login or Register to leave a response.

    Related Articles


    Cross Platform Frameworks for Mobile App Development

    Best tools or frameworks for creating Hybrid Mobile Applications: The days when mobile application development process was labeled as tedious and effort taking task are now gone. It was because the fr..


    An Introduction to Serverless Databases Architecture

    Understanding the Serverless Architecture: The serverless computing is a cloud computing execution model which means that the cloud provider is managing the distribution of computer resources dynamica..



    JSON Vs. XML: SON and XML both are used for storing and carrying data on the web.XML was originally developed as an independent data format, whereas JSON was developed specifically for use in the web ..