Linux软件安装包中devel与非devel包之间的区别

带devel(develop)的包,俗称开发包。功能上与普通包相同,但体积更大
使用rpm -qi看看这两类包的区别:

# rpm -qi glibc-devel-2.12-1.149.el6.x86_64
Name        : glibc-devel                  Relocations: (not relocatable)
Version     : 2.12                              Vendor: Red Hat, Inc.
Release     : 1.149.el6                     Build Date: 2014年08月27日 星期三 00时15分13秒
Install Date: 2015年08月11日 星期二 12时06分50秒      Build Host: x86-028.build.eng.bos.redhat.com
Group       : Development/Libraries         Source RPM: glibc-2.12-1.149.el6.src.rpm
Size        : 990368                           License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
Signature   : RSA/8, 2014年09月04日 星期四 23时42分50秒, Key ID 199e2f91fd431d51
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://sources.redhat.com/glibc/
Summary     : Object files for development using standard C libraries.
Description :
The glibc-devel package contains the object files necessary
for developing programs which use the standard C libraries (which are
used by nearly all programs).  If you are developing programs which
will use the standard C libraries, your system needs to have these
standard object files available in order to create the  executables.

Install glibc-devel if you are going to develop programs which will
use the standard C libraries.
# rpm -qi glibc-2.12-1.149.el6.x86_64
Name        : glibc                        Relocations: (not relocatable)
Version     : 2.12                              Vendor: Red Hat, Inc.
Release     : 1.149.el6                     Build Date: 2014年08月27日 星期三 00时15分13秒
Install Date: 2015年08月11日 星期二 12时05分54秒      Build Host: x86-028.build.eng.bos.redhat.com
Group       : System Environment/Libraries   Source RPM: glibc-2.12-1.149.el6.src.rpm
Size        : 12959142                         License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
Signature   : RSA/8, 2014年09月04日 星期四 23时42分51秒, Key ID 199e2f91fd431d51
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://sources.redhat.com/glibc/
Summary     : The GNU libc libraries
Description :
The glibc package contains standard libraries which are used by
multiple programs on the system. In order to save disk space and
memory, as well as to make upgrading easier, common system code is
kept in one place and shared between programs. This particular package
contains the most important sets of shared libraries: the standard C
library and the standard math library. Without these two libraries, a
Linux system will not function.
原文地址:https://www.cnblogs.com/softidea/p/5664118.html