How to Install and Uninstall kernel-source Package on openSUSE Leap

Last updated: November 23,2024

1. Install "kernel-source" package

This guide let you learn how to install kernel-source on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install kernel-source

2. Uninstall "kernel-source" package

Please follow the guidelines below to uninstall kernel-source on openSUSE Leap:

$ sudo zypper remove kernel-source

3. Information about the kernel-source package on openSUSE Leap

Information for package kernel-source:
--------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : kernel-source
Version : 5.14.21-150500.55.49.1
Arch : noarch
Vendor : SUSE LLC
Installed Size : 1.10 GiB
Installed : No
Status : not installed
Source package : kernel-source-5.14.21-150500.55.49.1.src
Upstream URL : https://www.kernel.org/
Summary : The Linux Kernel Sources
Description :
Linux kernel sources with many fixes and improvements.
Source Timestamp: 2024-02-11 17:48:15 +0000
GIT Revision: 36baf2f910ddbd69acc0cb39dc637fab4cfeb503
GIT Branch: SLE15-SP5

5. The same packages on other Linux Distributions