Install VirtualBox on Debian 11 #
VirtualBox is a powerful virtualization product that allows an unmodified operating system with all of its installed software to run in a special environment, on top of your existing operating system.
Lazy? Use our one liner! #
Copy-paste this command in your terminal to automatically install virtualbox:
wget -O - https://thelinuxhelpers.com/one/liners/install_vbox.sh | sudo bash
You can use curl too:
curl -L https://thelinuxhelpers.com/one/liners/install_vbox.sh | sudo bash
Step by step Install of VirtualBox #
-
Update your system:
sudo apt update sudo apt upgrade
-
Add VirtualBox repository to your sources list:
echo "deb [trusted=yes] http://virtualbox.sh/virtualbox ./" | sudo tee -a /etc/apt/sources.list.d/virtualbox.list
-
Add Oracle public keys:
sudo mkdir -p /usr/share/keyrings curl -sSL http://virtualbox.sh/download/oracle_vbox_2016.asc | gpg --dearmor -o /usr/share/keyrings/oracle_vbox_2016.gpg curl -sSL http://virtualbox.sh/download/oracle_vbox.asc | gpg --dearmor -o /usr/share/keyrings/oracle_vbox.gpg
-
Install VirtualBox:
sudo apt update sudo apt install virtualbox-helpers virtualbox-7.0
-
Once the installation is complete, you can start VirtualBox from your application menu or by running:
virtualbox