

Execute the “sudo apt install -f” command in the terminal to force the installation of these packages.

You can see in the terminal output that some dependent packages should be installed while installing the b package. To install the b package, execute the “sudo dpkg -i virtualbox-6.1_6.1.34-150636.1~Debian~bullseye_b” command in the terminal. Use the “ls” command to view the directory contents and check that the deb package is available. sudo apt install build-essential dkmsĪfter checking the new packages to be installed on your system, press the Y key and then Enter to confirm.Īfter making the necessary preparations, open the terminal and go to the Downloads location with the “cd ~/Downloads” command. Execute the “sudo apt install build-essential dkms” command in the terminal to install the necessary Linux kernels. sudo apt updateĪfter refreshing the package list, you need to install the necessary Linux kernels for VirtualBox on your system. On the Download VirtualBox website, click Linux Distributions from Platform packages.Ĭlick on the Linux distribution installed on your computer and choose to save the deb package on the page that opens, and click OK.īefore starting the installation, execute the “sudo apt update” command in the terminal to update the Debian package list.
