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

Last updated: December 25,2024

1. Install "kernel-devel" package

This is a short guide on how to install kernel-devel on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install kernel-devel

2. Uninstall "kernel-devel" package

This tutorial shows how to uninstall kernel-devel on openSUSE Leap:

$ sudo zypper remove kernel-devel

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

Information for package kernel-devel:
-------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : kernel-devel
Version : 5.14.21-150500.55.49.1
Arch : noarch
Vendor : SUSE LLC
Installed Size : 59.0 MiB
Installed : No
Status : not installed
Source package : kernel-source-5.14.21-150500.55.49.1.src
Upstream URL : https://www.kernel.org/
Summary : Development files needed for building kernel modules
Description :
Kernel-level headers and Makefiles required for development of
external kernel modules.
Source Timestamp: 2024-02-11 17:48:15 +0000
GIT Revision: 36baf2f910ddbd69acc0cb39dc637fab4cfeb503
GIT Branch: SLE15-SP5

5. The same packages on other Linux Distributions