To /etc/apt/sources.list (or better yet, a stretch-backports.list file in /etc/apt/) for Debian 8, make sure your /etc/apt/sources.list contains something like deb jessie main contribįor Debian 9, enable backports with contrib to do so, add a line like deb stretch-backports main contrib In more detail, here's the solution for Debian 7, 8, and 9, using Debian packages:įor Debian 7 and 8, enable the contrib repositories e.g. For Debian 10, follow the instructions above, replacing bullseye with buster, and install the same packages as in Debian 9: apt install virtualbox-guest-dkms virtualbox-guest-x11 linux-headers-$(uname -r) The guest kernel modules are included in the Debian 11 kernel. Thus for Debian 11: echo deb bullseye-backports main contrib > /etc/apt//bullseye-backports.listĮcho deb bullseye-fasttrack main contrib > /etc/apt//bullseye-fasttrack.listĮcho deb bullseye-backports-staging main contrib > /etc/apt//bullseye-fasttrack.list That’s it, the VirtualBox Guest Additions are installed.įor Debian 10 and 11, the VirtualBox packages are being made available in the new Fast Track service (see also the VirtualBox page on the Debian wiki). The TL DR version for Debian 9 is, as root: echo deb stretch-backports main contrib > /etc/apt//stretch-backports.listĪpt install virtualbox-guest-dkms virtualbox-guest-x11 linux-headers-$(uname -r)
0 Comments
Leave a Reply. |