How to Install VirtualBox on Linux

Windows Articles

How to access System in Windows 10

Perhaps the title of this post is misleading. In previous versions of Windows, it was enough to enter the Control Panel and from there,...

Microsoft reduces the fragmentation of Windows 10

Windows 10 20H2 has been released as a minor operating system update. As a result, it has managed to reduce platform errors. In addition,...

How to install Nginx and PHP on FreeBSD?

Hello, friends. FreeBSD is a secure system even more than Linux, that's why it's used as the main server. And a server has to...

How to enable local port forwarding using Ubuntu 20.04 and ssh

SSH, a very popular tool found almost with every IT guy. Commonly, when we talk about the insecure network for data, ssh is the...

How to use CHKDSK in Windows 10

Hello! It is very important to ensure the integrity of the hard disk in the computer. Since it is an essential element for the...
Mel Khamlichi
Mel Khamlichihttp://www.osradar.com
Founder of Osradar, from Amsterdam Netherlands

VirtualBox is definitely one of the best software that can create and manage a virtual machine. A virtual machine is nothing more than a machine, but it’s not physical. The host computer shares a part of its hardware resource for the virtual machine. Using virtual machine is the best way to explore any OS or testing software. It’s also quite fun.

VirtualBox is definitely the most popular software to perform this task. It’s open-source, powerful and free of cost. It also supports all the OS in the market to run in a virtual environment. For example, you can even install the most unpopular Linux distros without any trouble.

Installing VirtualBox in the system is quite easy. However, installing it in Linux systems isn’t. Here’s how to install VirtualBox for Linux users.

There are 2 ways you can install VirtualBox – the easy & hard ways.

The easy way

Universal Method (for all Linux distro)

Let’s take a look at the universal way.

  • Open the terminal in your Linux distro.
  • Run the following commands:
cd ~/Downloads
chmod +x VirtualBox-5.2.8-121009-Linux_amd64.run
sudo ./VirtualBox-5.2.8-121009-Linux_amd64.run

Note: If you end up with some type of error for any missing package, you have to install those first.

Voila! Installation complete. To start VirtualBox, run the following command in terminal:

virtualbox

To uninstall the program, you can use the following commands:

cd /opt/VirtualBox
sudo ./uninstall.sh

Distro-wise

You can also download and install other packages according to your Linux distro. That’s more recommended than this way because it isn’t easy for new users. For example, I’m using Xubuntu 17.04. So, I have to download the responsive DEB package and install it.

For installing the DEB package on your Ubuntu/Ubuntu-based distro, run the following commands:

sudo dpkg -i VirtualBox-5.2_5.2.8-121009_Ubuntu_zetsy_amd64.deb
sudo apt install -f

OpenSUSE users, install the RPM package using these command:

zypper install VirtualBox-5.2-5.2.8_121009_openSUSE132-1.x86_64.rpm

Fedora users, run these commands:

sudo dnf install VirtualBox-5.2-5.2.8_121009_fedora26-1.x86_64.rpm

The hard way

You’ll find the in-depth instruction of installing VirtualBox via commands in the VirtualBox downloads page.

Enjoy!

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to access System in Windows 10

Perhaps the title of this post is misleading. In previous versions of Windows, it was enough to enter the Control Panel and from there,...

Microsoft reduces the fragmentation of Windows 10

Windows 10 20H2 has been released as a minor operating system update. As a result, it has managed to reduce platform errors. In addition,...

How to install Nginx and PHP on FreeBSD?

Hello, friends. FreeBSD is a secure system even more than Linux, that's why it's used as the main server. And a server has to...

How to enable local port forwarding using Ubuntu 20.04 and ssh

SSH, a very popular tool found almost with every IT guy. Commonly, when we talk about the insecure network for data, ssh is the...

How to use CHKDSK in Windows 10

Hello! It is very important to ensure the integrity of the hard disk in the computer. Since it is an essential element for the...
x