So, to make VirtualBox fully functional you will need to update your system first, then install some additional modules like DKMS, kernel-headers, and kernel-devel and some dependency packages.
Without this module, you can still use the VirtualBox to create and configure virtual machines, but they will not work.
VirtualBox uses vboxdrv kernel module to control and allocate physical memory for the execution of guest operating systems. Install Dependency Packages for VirtualBox Next, enable the EPEL repository to install build tools and dependencies on the system. To install the latest stable version of VirtualBox, you need to first download the virtualbox.repo configuration file using the following wget command and then import the public key using rpm command. Installing VirtualBox 6.1 in RHEL/CentOS and Fedora