Steps to install VirtualBox guest additions on CentOS 8
After you complete your favorite option (Workstation, Server, etc) of CentOS 8 as a virtual machine using VirtualBox you're going to need to install the following packages (note that I'm using 'dnf' instead of yum which is a softlink): # which yum /usr/bin/yum # which dnf /usr/bin/dnf # ls -ld /usr/bin/yum lrwxrwxrwx. 1 root root 5 May 13 14:34 /usr/bin/yum - dnf-3 # dnf install kernel-devel-$(uname -r) kernel-headers perl gcc make elfutils-libelf-devel After this, you can proceed as usual to the VirtualBox menu "Devices" and choose the option at the bottom "Insert Guest Additions CD image..." And follow the usual steps when a window pop-up asking you to run the script and proceed with the compilation/installation of the module. What follows is the output of the installation of the packages from previous command (if you choose the "workstation" option: # dnf install kernel-devel-$(uname -r) ker...