Information about the package, kernel-headers, which is shipped with common Linux distributions. The kernel-headers package is designed for, Header files for the Linux kernel for use by glibc.
Package Name:
kernel-headers
Summary:
Header files for the Linux kernel for use by glibc
Description:
Kernel-headers includes the C header files that specify the interface between the Linux kernel and userspace libraries and programs. The header files define structures and constants that are needed for building most standard programs and are also needed for rebuilding the glibc package.
Architecture:
x86_64
Version:
2.6.32
Release:
696.30.1.el6
Size:
2.6 M
Repository:
installed
From Repository:
updates
Licence:
GPLv2
Control the kernel-headers package with the following handy commands outlined below.
yum install kernel-headers
This command will install kernel-headers on the server.
yum remove kernel-headers
This command will un-install kernel-headers on the server. When you run this command, you will be asked if you are sure that you want to remove kernel-headers, so you have to manually confirm that you want to do this.
yum -y remove kernel-headers
This command will un-install kernel-headers on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove kernel-headers when using the -y flag.
yum update kernel-headers
This command will update kernel-headers to the latest version. When you run this command, you will be asked if you are sure that you want to remove kernel-headers, so you have to manually confirm that you want to do this.
yum -y update kernel-headers
This command will update kernel-headers to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove kernel-headers when using the -y flag.
yum info kernel-headers
This command will show you core information about the kernel-headers package.
yum deplist kernel-headers
This command will show you the dependencies for kernel-headers. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update kernel-headers
This command will check if there is an update waiting on kernel-headers. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.