What I did on Ubuntu-Mate 16.04.3:
Added the following line to my /etc/apt/sources.list : deb virtualbox_url_for_debian xenial contrib
then:
downloaded and added the key
sudo apt-get update
sudo apt-get install virtualbox-5.2
Installed:
virtualbox-guest-source - x86 virtualization solution - guest addition module source
virtualbox-guest-utils - x86 virtualization solution - non-X11 guest utilities
virtualbox-guest-source-hwe - x86 virtualization solution - guest addition module source
virtualbox-guest-utils-hwe - x86 virtualization solution - non-X11 guest utilities
After completion Guest additions (guest-utils) didn't provide full-screen for guest systems (WIndows 8.1) installed in VIrtualbox 5.2.6.
So I installed VBoxGuestAdditions_5.2.6.iso from Virtualbox repositories for Virtualbox 5.2.6
and it still didn't provide full-screen for guest systems (WIndows 8.1) installed in VIrtualbox 5.2.6. (I rebooted several times)
By starting a guest system and selecting Devices -> Insert Guest Additions CD, no further prompts are shown so Guest additions
are not installed this way either.
While having installed Virtualbox 5.2 and installing Guest additions 5.0 (virtualbox-guest-additions-iso as named in repositories)
these Guest additions 5.0 remove Virtualbox 5.2.
There are some recommendations in the internet like: "
$ sudo su
$ apt install gcc make
$ mkdir --parents /media/cdrom
$ mount /dev/cdrom /media/cdrom
$ /media/cdrom/VBoxLinuxAdditions.run
$ reboot
After reboot:
$ sudo usermod --append --groups vboxsf USERNAME
Host shares should now be mounted in Ubuntu guest under /media via the installed VBoxService service, set to start on system boot-up."
As I am running dual-boot PC (Windows8.1/Ubuntu-Mate 16.04) I do not want to mess with boot loader.
Is there any way to install Virtualbox 5.2 guest additions on Ubuntu-Mate 16.04.3 ?