How To Install VirtualBox on Ubuntu 16 & Higher

The virtualization is one of the most practical and useful technologies we have today and not only as managers of systems or personnel support IT but as any user who analyzes different applications, test new operating systems and performs multiple tasks without affecting physical equipment both at the hardware and software level.

Install VirtualBox Repositories

First, we will update the existing packages in the system by executing the following line:

sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove

Once updated Ubuntu we proceed to the installation of the official repositories of VirtualBox by executing the following line:

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

Next, we will add this repository to Ubuntu by running the following line:

sudo sh -c 'echo "deb $(lsb_release -sc) contrib" >> /etc/apt/sources.list'

Install VirtualBox on Ubuntu

The next step is to install VirtualBox in Ubuntu 17.04 and for this, execute the following commands:

sudo apt-get update

sudo apt-get install virtualbox-5.2

Install VirtualBox Extensions

Once VirtualBox has been installed in Ubuntu, it will be necessary to install the extension package which have been developed to increase the capabilities of VirtualBox.

For this we will go to the following link. There we click on the All supported platforms line in the section VirtualBox 5.2.8 VirtualBox Extension Pack

Run the Downloaded File.

Click on Install and we must accept the license terms.

Click on Accept and it will be necessary to enter the administrator password.

Once the installation process is finished, VirtualBox will be executed automatically:

In this way, VirtualBox will be installed on Ubuntu 16.04.

To uninstall VirtualBox from Ubuntu 16.04, we will execute the following line:

sudo apt-get purge virtualbox-5.2 && sudo apt-get autoremove

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *