Linuxis on juhtprogramm (driver) sisuliselt laaditav tuuma moodul. Kui tuum uueneb, siis tuleb uuendada ka juhtprogrammid. Sellega tegelebki DKMS Linuxis.
Enne VirtualBoxi paigaldamist tasub veenduda, et DKMS on paigaldatud:
dpkg -l|grep dkms
ii dkms 2.8.1-5ubuntu1 all Dynamic Kernel Module Support Framework
dpkg otsib paigaldatud pakettide hulgast ja ii
näitab, et on paigaldatud.
man dpkg-query
https://www.virtualbox.org/wiki/Linux_Downloads
Paigaldamine Ubuntu 20.04 LTS ja selle põhjal tehtud distrotes (nt Linux Mint 20):
wget -q <https://www.virtualbox.org/download/oracle_vbox_2016.asc> -O- | sudo apt-key add - && wget -q <https://www.virtualbox.org/download/oracle_vbox.asc> -O- | sudo apt-key add -
sudo add-apt-repository 'deb [arch=amd64] <https://download.virtualbox.org/virtualbox/debian> focal contrib'
sudo apt-get update && sudo apt-get install virtualbox-6.1 && sudo ldconfig && sudo dpkg --configure -a && sudo apt-get clean
Lisaks paigaldada siis laienduste pakett (Extension Pack)
https://www.virtualbox.org/wiki/Downloads
***VirtualBox x.x.xx Oracle VM VirtualBox Extension Pack***
Support for USB 2.0 and USB 3.0 devices, VirtualBox RDP, disk encryption, NVMe and PXE boot for Intel cards. See this chapter from the User Manual for an introduction to this Extension Pack. The Extension Pack binaries are released under the VirtualBox Personal Use and Evaluation License (PUEL).
Please install the same version extension pack as your installed version of VirtualBox.
How to Install VirtualBox 7.0 on RHEL and Debian Based Distributions