How to Install VirtualBox 7.0 in Debian 11 or 12

In today’s computer world, virtualization is super essential for lots of people. It lets them run many different operating systems on just one computer. This means you can easily switch between various setups for other tasks. A prevalent virtualization software is Oracle VM VirtualBox.

In this guide, we’ll show you how to put VirtualBox 7.0 on Debian 11 or 12. Then, you can make virtual machines to run things like Windows 10. We’ll guide you through each step of setting it up so you can have it ready to go on your Debian computer in a flash!

Installing VirtualBox in Debian

Credit: Debian

VirtualBox: Use Lots of Different Systems on Your Debian Easily

VirtualBox is a powerful software that lets you make and use lots of virtual computers inside your real one. It’s made by a company called Oracle, and you can get it for free. It works on both Microsoft and Linux computers.

Suppose you’ve got Debian or other Linux software on your PC. In that case, you can use VirtualBox to make a pretend PC inside it that runs Windows 10 or a more aged version of Windows. This means you don’t have to put two different operating systems on your actual PC, which can be challenging and take a lot of time.

With a virtual machine, you can run a different operating system on your actual computer without worrying if it will work or break anything. This is super helpful for people who make software, work in IT, or need to test programs on different systems.

It makes it easy to make and handle these VMs so that you can use lots of operating systems on one PC without any trouble.

What are the Pros of Using Virtual Machines on Debian?

Using virtual machines on Debian has a lot of perks. One significant benefit is that you can run lots of different operating systems on just one computer. That means you can do other tasks without switching computers all the time. VMs also let you try out other programs and software on different systems without worrying if they’ll work together.

Another good thing about VMs is that they give you a safe place to test out software that might be risky. They’re separate from your central system, so if something goes wrong, it won’t mess up your main computer. That makes VMs really handy for developers, IT folks, and anyone who needs to test out software in different ways.

Installing VirtualBox in the Debian PC

You can put Oracle’s virtual machine software on the newest Debian, like version 11 or 12, in two ways. You can watch our excellent video guide or follow the step-by-step instructions below.

  1. If you want to put Oracle VM VirtualBox on your computer, go to this website. When you get there, you’ll see a button to download the software.
  2. When you go to the download website, you’ll see a list of Windows and Linux options. If you’re using Linux, click on the “Linux Distributions” choice.
  3. On the page, you’ll see different types of Linux, like Debian. Just click on the one that matches what you have on your computer. This will make it easier for you to use the platform.
  4. To put VirtualBox on your computer, go to their website first and get the setup file with the “.deb” extension. After it’s downloaded, please keep it in an easy-to-find spot on your device. This file starts the installation process and gets VirtualBox ready on your system.
  5. To update the list of software, you can get it on Debian. Open the terminal tool and type ‘sudo apt update.’ This makes sure you have the newest updates and fixes for your programs.
    sudo apt update
  6. To get the critical stuff for Oracle VirtualBox on your Linux, just type ‘sudo apt install build-essential dkms’ in the command line. That’s all you need to do to make sure everything works well with the virtualization software.
    sudo apt install build-essential dkms
  7. To put VirtualBox on your Debian computer, you first have to get and build the suitable Linux kernels. After that, you can install it. Just go to where you saved the deb package by typing “cd ~/Downloads” in your terminal. This will get you to the correct folder so you can install it.
    cd ~/Downloads
  8. If you want to install Oracle software on your PC, type this command in the terminal. It will help you through the installation and make sure everything is set up correctly.
    sudo dpkg -i virtualbox-6.1_6.1.34-150636.1~Debian~bullseye_amd64.deb
  9. If the terminal shows an error saying you need other packages, too, just run the “sudo apt install -f” command. It will automatically install the packages you need on your OS.
    sudo apt install -f
  10. After setup, you can use it easily. Just open the terminal and type “VirtualBox.” This will start the VirtualBox app. Then, you can make and control lots of virtual machines on your PC without any trouble.
  11. It would be best if you also got the Extension Pack for the guest machines used in Oracle software. To download it, go back to its website and hit on the “All Supported Platforms” link.
  12. After you’ve got the Extension Pack, find where you saved it on your computer. Then, look for the setup file. To start installing it, double-click on the setup file.
  13. When the VirtualBox – Question window shows up on your screen, find the Install button and click on it to start installing.
  14. To keep installing, you have to read and agree to the license terms. After you agree, the installation will start, and you’ll have to wait for it to finish.
  15. Once you’ve installed the extension package, go to the file and click on Preferences in the VirtualBox tool menu. Then, make sure to look in the Extensions section to see if the box is checked.


To sum up, it is super handy software. It lets you run lots of operating systems on just one computer. That makes it perfect for developers, IT folks, and anyone who wants to test programs on different systems. Installing VirtualBox on Debian 11 or 12 is easy.

Just follow the effortless steps we talked about in this guide. Once it’s on your computer, you can easily make and control virtual machines without any hassle. Overall, it is a great tool that can make your work easier and help you get more done. We really suggest giving it a shot!

If you want to install VirtualBox on your Kali Linux, we’ve got a super easy guide for you! It gives you simple step-by-step instructions. Whether you’re new to this or you’re an expert, our guide will help you set it up quickly.

Copyright © 2018 - 2024