SDB:InstallNewerKernel
Related articles
Situation
You have a computer with a problem caused by as yet unsupported new hardware, and have been directed to install a newer kernel than the newest one provided by your installed system.
Several situations can cause this need. This article will describe installing a "backport" kernel on openSUSE Leap 15.5/15.6
Procedure
First, a repository containing the backport kernel needs to be configured. Logged in as root, or using sudo, the following shell command will cause the creation of the required .repo file in /etc/zypp/repos.d/:
zypper ar -f http://download.opensuse.org/repositories/Kernel:/stable:/Backport/standard/ KernelStableBP
Like most optional repositories, backport contains a .repo file that can be retrieved and, as an alternative to the above zypper -ar command, as root or using sudo, saved to /etc/zypp/repos.d/.
using YaST2
Start YaST2, select "Software Management" and click the tab "Repositories". From the list produced on the left, select the name used to create the new repo. This will produce a list of kernel and related packages. Select the one matching the name of your currently installed kernel, which by default in Leap is named "kernel-default". In the pane with the description of the kernel, select the "Versions" tab. The kernels are listed in version order, with the latest being at the top and the ones checked being installed. Check the kernel version you want to install and select "Accept". You will be prompted to install additional package dependencies for the kernel version you have selected.
using Zypper at a shell prompt
zypper refresh zypper search -sx kernel-default zypper install kernel-default-<listed-version-to-install>