LINUX, FOSS AND LIBRARY TECHNOLOGY ENTHUSIAST

Sunday, September 12, 2021

Install VirtualBox on Debian 11 (Bullseye)

0 comments

This is the easiest way to install VirtualBox on Debian, from the Oracle repository.


1. Import repository GPG key


sudo apt install gnupg2

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

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


2. Add VirtualBox repository for Debian Bullseye


sudo echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bullseye contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list


3. Make your Debian system updated


sudo apt update


You can use the apt-cache search VirtualBox command to search which package version is available to install.


4. Now, to install VirtualBox on Debian, run the following commands.


sudo apt install linux-headers-$(uname -r) dkms

sudo apt install virtualbox-6.1


Once installed you can launch virtualbox from the terminal, type:


virtualbox


Reference: 

https://www.virtualbox.org/wiki/Linux_Downloads

No comments:

Post a Comment