{"id":10118,"date":"2021-08-19T23:09:26","date_gmt":"2021-08-19T20:09:26","guid":{"rendered":"https:\/\/kifarunix.com\/?p=10118"},"modified":"2024-03-18T18:51:43","modified_gmt":"2024-03-18T15:51:43","slug":"install-virtualbox-on-debian-11-desktop","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-virtualbox-on-debian-11-desktop\/","title":{"rendered":"Install VirtualBox on Debian 11 Desktop"},"content":{"rendered":"\n
In this tutorial, you will learn how to install VirtualBox on Debian 11 desktop version. VirtualBox<\/a> is a general-purpose full virtualizer for x86 hardware, targeted at server, desktop and embedded use<\/em>.<\/p>\n\n\n\n Read about features offered by VirtualBox on Features page<\/a>.<\/p>\n\n\n\n VirtualBox 6.1 is the current stable release version of VirtualBox as of this writing.<\/p>\n\n\n\n There are two ways to install VirtualBox:<\/p>\n\n\n\n Download the DEB binary from the VirtualBox downloads page<\/a>.<\/p>\n\n\n\n Please note that currently, there is no official DEB binary for Debian 11 bullseye, as of this writing.<\/strong> Hence, we use for Debian 10.<\/p>\n\n\n\n Next, run the command below to install the required dependencies;<\/p>\n\n\n\n Next, install VirtualBox on Debian 11;<\/p>\n\n\n\n The default Debian 11 repositories do not provide VirtualBox, at least as of this writing.<\/p>\n\n\n\n Also, as of this writing, no official repository for Debian 11 Bullseye. Hence, run the command below to add the sources list for Debian 10 Buster.<\/p>\n\n\n\n Next, install the repository GPG signing keys;<\/p>\n\n\n\n Ensure your package cache is up-to-date by running the command below;<\/p>\n\n\n\n VirtualBox 6.1 can then be installed by running the command below;<\/p>\n\n\n\n You can now start using VirtualBox.<\/p>\n\n\n\n If for some reasons you want to remove VirtualBox, run the command below.<\/p>\n\n\n\n Please note that this wont delete your VMs.<\/p>\n\n\n\n And that concludes our guide on how to install VirtualBox on Debian 11.<\/p>\n\n\n\n Install VirtualBox Guest Additions on Debian 11<\/a><\/p>\n\n\n\nInstalling VirtualBox on Debian 11 Desktop<\/h2>\n\n\n\n
\n
Install VirtualBox on Debian 11 using Linux DEB Binary<\/h3>\n\n\n\n
wget https:\/\/download.virtualbox.org\/virtualbox\/6.1.26\/virtualbox-6.1_6.1.26-145957~Debian~buster_amd64.deb<\/code><\/pre>\n\n\n\n
wget http:\/\/ftp.br.debian.org\/debian\/pool\/main\/libv\/libvpx\/libvpx5_1.7.0-3+deb10u1_amd64.deb<\/code><\/pre>\n\n\n\n
apt install .\/libvpx5_1.7.0-3+deb10u1_amd64.deb libsdl-ttf2.0-0 linux-image-$(uname -r)<\/code><\/pre>\n\n\n\n
apt install .\/virtualbox-6.1_6.1.26-145957~Debian~buster_amd64.deb<\/code><\/pre>\n\n\n\n
Install VirtualBox on Debian 11 from VirtualBox Repositories<\/h3>\n\n\n\n
apt-cache policy virtualbox<\/code><\/pre>\n\n\n\n
virtualbox:\n Installed: (none)\n Candidate: (none)\n Version table:<\/code><\/pre>\n\n\n\n
Add VirtualBox Repository<\/h4>\n\n\n\n
echo \"deb [arch=amd64] https:\/\/download.virtualbox.org\/virtualbox\/debian buster contrib\" > \/etc\/apt\/sources.list.d\/virtualbox.list<\/code><\/pre>\n\n\n\n
wget -q https:\/\/www.virtualbox.org\/download\/oracle_vbox_2016.asc -O- | | sudo apt-key add -\nwget -q https:\/\/www.virtualbox.org\/download\/oracle_vbox.asc -O- | sudo apt-key add -<\/code><\/pre>\n\n\n\n
Run system update<\/h4>\n\n\n\n
apt update<\/code><\/pre>\n\n\n\n
Install VirtualBox<\/h4>\n\n\n\n
wget http:\/\/ftp.br.debian.org\/debian\/pool\/main\/libv\/libvpx\/libvpx5_1.7.0-3+deb10u1_amd64.deb<\/code><\/pre>\n\n\n\n
apt install .\/libvpx5_1.7.0-3+deb10u1_amd64.deb libsdl-ttf2.0-0 linux-image-$(uname -r)<\/code><\/pre>\n\n\n\n
apt install virtualbox-6.1<\/code><\/pre>\n\n\n\n
Running VirtualBox on Debian 11<\/h3>\n\n\n\n
<\/figure><\/div><\/a><\/div>\n\n\n\n
<\/figure><\/div><\/a><\/div>\n\n\n\n
Uninstall VirtualBox on Debian 11<\/h3>\n\n\n\n
apt remove --purge --auto-remove virtualbox-6.1<\/code><\/pre>\n\n\n\n
Other Tutorials<\/h3>\n\n\n\n