DKMS on SLES 15 SP6: Install via openSUSE Backports/Package Hub

Installing DKMS on SLES 15 SP6

Task

Install DKMS on SLES 15 SP6.

Solution

SLES 15 SP6 does not include DKMS in its standard repository by default. However, DKMS is available for SP6 via the openSUSE:Backports:SLE-15-SP6 repository (or Package Hub), so it can still be installed on SLES 15 SP6:
1. Enable unsupported modules. Launch:
echo "allow_unsupported_modules 1" | sudo tee /etc/modprobe.d/10-unsupported-modules.conf
2. Install DKMS package. Use the package from the openSUSE 15 SP6 Backports repository.
3. Install kernel symbols package. Download and install the corresponding kernel-syms package for your kernel version.
4. Proceed with your DKMS-based module installation. Once both packages are installed, you can continue installing or building DKMS modules as needed.