How to Install VirtualBox 5.1.22 on Debian 9

0

Install VirtualBox 5.1.22 on Debian 9
Install VirtualBox 5.1.22 on Debian 9

VirtualBox is a free and open-source hypervisor software, allows you to create and run a guest operating systems (“virtual machines”) such as Linux and Windows on top of the host operating system.VirtualBox supports both software-based and Hardware-assisted virtualization.

VirtualBox may be installed on host operating systems, including Linux, Windows, Solaris, OpenSolaris, and OSx86. VirtualBox is released under GPL (GNU General Public License) v2, and Oracle VM VirtualBox Extension Pack is released under “Personal Use and Evaluation License”.

VirtualBox can either be installed using precompiled binaries or source code. This tutorial focuses on installing VirtualBox using precompiled binaries (.deb).

Starting from the VirtualBox 2.0, it supports 32 and 64bit host and guest operating systems (To run 64bit guests, make sure your CPU supports hardware virtualization, and the host operating system is 64 bit).

Open up a terminal to begin, edit /etc/apt/sources.list file and update it with the VirtualBox repository.

sudo nano /etc/apt/sources.list

Add the following line to above file.

deb http://download.virtualbox.org/virtualbox/debian stretch contrib

Import the signing key of the Oracle VirtualBox to your system using the following command.

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

Update the Debian repository index.

sudo apt-get update

Install the VirtualBox 5.1.222, command as follows.

sudo apt-get install virtualbox-5.1

Install dkms packages to ensure that the VirtualBox host modules are properly updated if the kernel version changes during the next upgrade.

sudo apt-get install dkms

Start VirtualBox (Actvities —> Search > Oracle VM VirtualBox).

Install VirtualBox 5.1.22 on Debian 9 - Starting VirtualBox
Install VirtualBox 5.1.22 on Debian 9 – Starting VirtualBox

or

virtualbox

Just accept the license agreement of VirualBox if it prompts you.

What are you waiting for? Go, Create, and have fun with virtual machines.

The following screenshot shows CentOS 6 installation on VirtualBox.

Install VirtualBox 5.1.22 on Debian 9 - Installing CentOS on VirtualBox
Install VirtualBox 5.1.22 on Debian 9 – Installing CentOS on VirtualBox

Extras:

Virtual Box offers a package called “Guest Additions“; a collection of drivers and system applications which typically improves performance, especially of graphics.

Oracle VirtualBox Guest Addition

Enable remote display in Virtual Box

You might also like

Close