How to Install VirtualBox 6 on Debian 10

This tutorial shows how to setup VirtualBox 6.1 on Debian 10 Buster, it is also useful for previous versions of Debian and for Ubuntu too.

This tutorial shows the installation process through the .deb package available at VirtualBox official website omitting the process related to apt or aptitude package managers though keeping it to fix dependencies.

How to Install VirtualBox 6 on Debian 10

To begin downloading VirtualBox from the official website select it from

You can also download it through console using the command wget:

#  wget

Install it using the dpkg command:

# dpkg -i <package.deb>

In my case I run:

# dpkg -i virtualbox-6.1_6.1.0-135406~Debian~buster_amd64.deb

Note: for more information on dpkg command you can read All about the debian package managers: dpkg, apt and aptitude explained.
At some point the installer may stop returning a dependency error, if that’s your case and your installation doesn’t finish successfully run:

# apt update && upgrade
# apt install -f

The step above should troubleshoot some possible dependency problems.

Now install the kernel headers by running:

# apt install linux-headers-amd64 linux-headers-4.19.0-6-amd64

Build VirtualBox kernel modules by running:

# /sbin/box config

Then launch Virtualbox as non root user

$ virtualbox

The image above shows VirtualBox’s main window without defined virtual devices.

Creating a Windows XP Virtual PC under Debian 10 Buster

 To get started setting up a virtual OS from its ISO image click on the icon “NEW”, the following example shows a Windows XP installation from an ISO installable image, if you prefer to install a Linux distribution you can read Installing Debian 10 on VirtualBox.

Choose your virtual computer name and press on Next.

Select the ram memory amount you can to assign your virtual device and press on Next.

Press Create leaving the default option to continue.

Leave the default VDI option and press Next.

The last step allows us to define the space allocation, press on Create to end the process and start the OS installation.

Once the process is finished, VirtualBox will show the new virtual device on the left menu.

To start installing the OS click on START.

In the next screen select the folder icon to browse searching your OS ISO image.

A new window will prompt in which you need to press on the “Add” icon with a + symbol to select the ISO image.

Select your ISO location and file and press Open to continue.

Press on Choose to confirm and continue the process.

Then press on START to run the Windows installator.

The installator will start requesting you to press ENTER and F8 to begin the process.

Note: during the process the mouse pointer may be captured by the virtual pc, you can press your right CTRL to release your mouse.

Give the total amount of available space and format it as NTFS (Quick).
The first GUI screen will ask for location and language settings, after chosen press on Next.

Then fill the Windows CD key serial.

Set the virtual computer name and press on Continue.

Optionally you can set an Administrator password, contrary to Linux Windows formerly didn’t require a password as mandatory, and even if defined it could be avoided by pressing “cancel”.

On the next screen you need to select your time and location settings:

In the following screen leave “Typical settings” and press Next to continue.

The next step will ask for the Workgroup name, press Next to continue.

Now let Windows installer to finish

Finally Windows XP main screen will show up.

Adding the VirtualBox 6.1.0 Oracle VM VirtualBox Extension Pack

Additional packages can increase VirtualBox functionalities by adding features such as:


You can download the extension pack from the link:

Or using wget by running:

# wget

Then just double click on the downloaded file:

The Extension Pack installer will prompt, press on Install to confirm

On the License screen scroll down and press on I Agree to continue.

If asked, fill your root password to allow the installation.

Once ended the process will show if installed successfully.

Press OK, the Extension Pack is already installed.

I hope you found this brief tutorial on Installing VirtualBox 6 on Debian 10 Buster useful, thank you for reading it.

Related articles

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Install VirtualBox 6.0 on Ubuntu 18.04

VirtualBox is a free virtualization solution from Oracle. VirtualBox can virtualize Windows XP, Windows Vista, Windows...

Install VirtualBox Extension Pack

A lot of features offered by Oracle (the company that owns VirtualBox) are offered under a separate license from that of...

How to Install VirtualBox 6 on Debian 10

This tutorial shows how to setup VirtualBox 6.1 on Debian 10 Buster, it is also useful for previous versions of Debian...
Bài Viết

Bài Viết Mới Cập Nhật

Huớng dẫn dùng proxy cho ios, iphone 2023

Cách gắn set proxy cho điện thoại android, oppo, giả lập android, Ldplayer Bằng Proxydroid

Mua Proxy Socks5 VN Chơi Game Gia Lập Tăng Cường Trải Nghiệm Chơi Game

Mua Proxy Mỹ, Us Nuôi Tài Khoản Etsy, eBay Tìm Hiểu Về Mua Proxy Mỹ tại

Mua Proxy Game – Giải pháp tuyệt vời cho việc chơi game trên mạng mà không bị giới hạn về vị trí địa lý