

When there are no errors and the last line of that terminal window says "Press Return to close this window.", click inside that window and press Return.Install the Guest Additions again from the beginning.When the VM starts up again, right-click the CD image on the desktop (if you don't see it, look in the left bar, at the bottom), and Eject.(Earlier advice also recommended installing gcc and make, but apparently they are already included with build-essential).(Earlier advice also recommended installing "dkms" and perl, but apparently that is no longer necessary).

Inside the Ubuntu 20 VM, open up a terminal with Ctrl+Alt+T.Please install the gcc make perl packages from your distribution." If that happens, At this point, with a fresh Ubuntu 20.04 LTS install, it typically says "This system is currently not set up to build kernel modules.


Other versions and other hosts should work similarly.) (This was tested on Ubuntu Desktop 20.04 LTS as a guest in VirtualBox-6.1 on a Windows 10 host. This chapter assumes you already have Ubuntu installed in a VirtualBox virtual machine, perhaps using the process described in VirtualBox/Setting up a Virtual Machine/Ubuntu. Here we install the Guest Additions on an Ubuntu guest system running inside Virtualbox.
