Installing Virtualbox on Ubuntu 18.04.1 LTS

Sharad Jaiswal
Written by Sharad Jaiswal

Posted On: Oct 27, 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 https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
 wget -q https://www.virtualbox.org/download/oracle_vbox.asc -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 http://download.virtualbox.org/virtualbox/debian `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.

virtualbox

Conclusion

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

    Blog

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

    Blog

    JSON Vs. XML

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

    Blog

    What are difference between React Native and NativeScript?

    Both React Native and NativeScript are amazing frameworks. Both frameworks are part of the new generation cross-platform mobile frameworks that are NOT using the browser to package it into Native app...