sudo apt install virtualbox-guest-utils virtualbox-guest-dkms code example
Example: ubuntu install vboxguest
$ sudo add-apt-repository multiverse
$ sudo apt install virtualbox-guest-dkms virtualbox-guest-x11
$ sudo add-apt-repository multiverse
$ sudo apt install virtualbox-guest-dkms virtualbox-guest-x11