Install virtualbox-dkms by entering the following commands in the terminal:
sudo apt update sudo apt install virtualbox-dkms
Description:
x86 virtualization solution - kernel module sources for dkms
VirtualBox is a free x86 virtualization solution allowing a wide range of x86 operating systems such as Windows, DOS, BSD or Linux to run on a Linux system. . This package provides the source code for the virtualbox kernel module to be build with dkms. Kernel sources or headers are required to compile this module.
Homepage: https://www.virtualbox.org
Version: 5.2.10-dfsg-6
Section: multiverse/kernel