用yum install kernel headers 文件默认安装在哪个目录下
展开全部
rpm -qi kernel-headers
Name : kernel-headers
Version : 3.17.7
Release : 300.fc21
Architecture: x86_64
Install Date: 2015年01月08日 星期四 23时29分00秒
Group : Development/System
Size : 3419473
License : GPLv2 and Redistributable, no modification permitted
Source RPM : kernel-3.17.7-300.fc21.src.rpm
Build Date : 2014年12月17日 星期三 11时49分28秒
Build Host : bkernel01.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager : Fedora Project
Vendor : Fedora Project
URL : http://www.kernel.org/
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.
应该是头文件,那就是/usr/include
具体分析安装了什么的话可以把kernel-3.17.7-300.fc21.src.rpm 下载下来,
rpm2cpio kernel-3.17.7-300.fc21.src.rpm | cpio -t
Name : kernel-headers
Version : 3.17.7
Release : 300.fc21
Architecture: x86_64
Install Date: 2015年01月08日 星期四 23时29分00秒
Group : Development/System
Size : 3419473
License : GPLv2 and Redistributable, no modification permitted
Source RPM : kernel-3.17.7-300.fc21.src.rpm
Build Date : 2014年12月17日 星期三 11时49分28秒
Build Host : bkernel01.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager : Fedora Project
Vendor : Fedora Project
URL : http://www.kernel.org/
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.
应该是头文件,那就是/usr/include
具体分析安装了什么的话可以把kernel-3.17.7-300.fc21.src.rpm 下载下来,
rpm2cpio kernel-3.17.7-300.fc21.src.rpm | cpio -t
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询