
Template:VirtualBox Host Software Installation Debian
Debian host operating systems:
Choose an option from the following table. Choose either Option (A) OR Option (B).
A Automated VirtualBox Installation : Debian users could alternatively use the Kicksecure Linux Installer for VirtualBox. In this case, this wiki page can be completely ignored. No other steps from this wiki page need to be applied because the automated installer will handle everything.
B Manual VirtualBox Installation : Follow the instructions below.
- These instructions are for host operating systems running Debian
bookworm
, which is recommended. - Other Debian releases might work, but this is untested. In case of other Debian release:See also "Linux host operating systems" below.See also "Linux" on the right.
- To acquire the Recommended VirtualBox version tested with Kicksecure, package
{{{virtualbox_package_debian}}}
should be installed from Debianfasttrack
repositoryaccording to the following instructions. [1]
1. On the host.
Open a terminal.
2. Add Debian the fasttrack
repository.
Update the package lists.
sudo apt update
Install the Debian fasttrack
signing key.
sudo apt install --no-install-recommends fasttrack-archive-keyring
Add the Debian fasttrack
repository.
echo 'deb https://fasttrack.debian.net/debian/ bookworm-fasttrack main contrib non-free' | sudo tee /etc/apt/sources.list.d/fasttrack.list
3. Add Debian the backports
repository. [2]
echo 'deb https://deb.debian.org/debian bookworm-backports main contrib non-free' | sudo tee /etc/apt/sources.list.d/backports.list
4. Update the package lists again. [3]
sudo apt update
5. Install VirtualBox and Linux kernel headers.
sudo apt install --no-install-recommends {{{virtualbox_package_debian}}} linux-headers-$(dpkg --print-architecture)
6. Add your current user to group vboxusers
. [4]
sudo adduser $(whoami) vboxusers
7. Done.
The procedure of installing the VirtualBox host software is complete.
- ↑
This is
non-ideal
but required since VirtualBox in unavailable in official Debian
bookworm
repository and difficult to install due to VirtualBox Installation Challenges. Alternatively you could install VirtualBox from the Oracle (virtualbox.org) Repository, but this comes with different risks. VirtualBox might be updated by VirtualBox developers before being tested with Kicksecure which could then lead to issues. (Described in footnote here.) - ↑
This is required because the Debian
fasttrack
repository depends on the Debian thebackports
repository. - ↑
This is to acquire the Debian
fasttrack
repository package sources. - ↑
Optional: See: https://www.virtualbox.org/manual/ch02.html#install-linux-vboxusers
Also spams
~/.config/VirtualBox/VBoxSVC.log
log if not done.