How to install Virtualbox in Debian 9. An
apt working way (because it was not going to be so easy…).
- Follow this section from the oficial Debian guide.
- Although you should be done, you won’t be able to start a machine if your Linux kernel is more recent than the one Virtualbox was targeted at. To fix this do:
sudo apt install inux-headers-amd64 -y
- And done.
- To install the extension pack, just go to Virtualbox downloads, download them from there and double click the downloaded file.
Here you have a guide to install the guest additions into a Debian 9 guest.