LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   question about devel rpm (http://www.linuxquestions.org/questions/linux-software-2/question-about-devel-rpm-372152/)

hongxing 10-12-2005 02:11 AM

question about devel rpm
 
in my SuSE Linux, there are many rpms which have a -devel correspond rpm
what's the usage of these correspond rpms ?

thanks!

macemoneta 10-12-2005 02:21 AM

The devel rpms contain the necessary headers and related files needed to create new software using the package.

hongxing 10-12-2005 02:30 AM

do you mean that the none devel rpm contains some
lib or so file while the devel rpm contains the headers and some docs ?

macemoneta 10-12-2005 02:50 AM

More or less, yes. The non-devel rpm will contain the binaries, which may include executables and/or libraries - anything needed to run the software.

The devel may included headers and/or libraries and/or additional files. The contents vary based on the package. These are files needed to write software for the package or incorporating the package.

The easiest was to see is too look at a few packages on your system and compare the contents. For example:

$ rpm -ql bzip2-devel
/usr/include/bzlib.h
/usr/lib64/libbz2.a
/usr/lib64/libbz2.so

$ rpm -ql bzip2
/usr/bin/bunzip2
/usr/bin/bzcat
/usr/bin/bzcmp
/usr/bin/bzdiff
/usr/bin/bzgrep
/usr/bin/bzip2
/usr/bin/bzip2recover
/usr/bin/bzless
/usr/bin/bzmore
/usr/share/doc/bzip2-1.0.2
/usr/share/doc/bzip2-1.0.2/CHANGES
/usr/share/doc/bzip2-1.0.2/LICENSE
/usr/share/doc/bzip2-1.0.2/README
/usr/share/doc/bzip2-1.0.2/README.COMPILATION.PROBLEMS
/usr/share/doc/bzip2-1.0.2/Y2K_INFO
/usr/share/man/man1/bunzip2.1.gz
/usr/share/man/man1/bzcat.1.gz
...


All times are GMT -5. The time now is 09:28 PM.