I am trying to install virtualbox additions for Ubuntu Mate 14.04.2 x32. I copy vboxlinuxadditions.run file to the home folder and run it but i get 'Building the main Guest Additions module …fail!'. I guess the problem is i don't have the correct linux headers installed that match the kernel version. If this is correct is there a way to install the correct version of linux headers? The kernel version is 3.16.0-33-generic.
I installed
make
andgcc
and it was able to install the guest additions.You need install
build-essential
package which installs other packages need to compile many source codes.