Differences between kernel devel and kernel source

Source: Internet
Author: User

Difference: the kernel-devel package only contains the kernel header file and makefile required for the kernel development environment, while the kernel-Souce contains all the kernelSource code.
If you only want to develop your own modules, you only need to reference the corresponding kernel header file, so only the devel package is available. If you want to modify the existing kernel sourceCodeAnd re-compile, it must be kernel-Souce.

Kernel-Souce is no longer included in the release after some RH versions and must be made by yourself through the kernel-XXX.src.rpm.

Kernel-devel is generally used for kernel development. For example, to compile a kernel module, in principle, you do not need the original kernel code.
Kernel refers to the development of the kernel itself, so the original code of the kernel is required.

 

There are two rpm for the kernel source: kernel and kernel-devel. The kernel RPM contains the source file and header file (like the kernel-source RPM under 2.4 ), the kernel-devel is mainly a header file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.