Oracle Virtualbox is a free open source hosting machine for your computer. You can run multiple operating systems on your system without having to replace the host OS. A lot of people ask how to install Virtualbox in Ubuntu and mess up with different methods.
Here are two methods to install Virtualbox in Ubuntu.
In the first place, Virtualbox is a powerful tool which is enriched in high performance and usability. Virtualbox lets you to use multiple operating systems which take care of your operating system requirements. It supports multiple operating systems allowing you to use it on your requirements. The major perk of using the Virtualbox is the allowance for multiple guest operating system as a result which it expands the range of using it.
Also read: Linux distributions for beginners in 2019
How to install Virtualbox in Ubuntu?
Downloading the .deb files and installing them is a basic method to install Virtualbox in Ubuntu. Double clicking the file will open the installation and then it’s done. If you are still facing the problem in using .deb files then you can use gdebi packages which can be downloaded from official site.
Download the .deb files of virtualbox from official site.
To install gdebi use the following commands in the terminal
sudo apt install gdebi-core
To install Virtualbox in Ubuntu of .deb files using gdebi use the following commands (For this the prerequisite is that you need to place the .deb file on the desktop)
sudo gdebi filename.deb
Thus you finish off the installation process.
Also read : Top 3 Best Mechanical Keyboard For Gaming
If you are facing problems with installation using debian files then you can use this method. In this method the installation of Virtualbox in Ubuntu is directly through terminal.
Also read: Dell precision laptops powered by Linux
Use the following code :
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'
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 –
Now for installation in system, use the following code :
sudo apt-get update sudo apt-get install virtualbox-5.2
Once it’s been installed, the version name depends on the file which you have downloaded.