I installed VirtualBox-5.2.18 on my MacBook Pro, and I tried to install VirtualBox guest additions on Linux, which allows the Guest to take advantage of faster drivers, better screen resolution, copy and paste, and shared folders.
I used the Terminal window to install the Development Tools...