Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to Linux and wonder why many times when I install package with yum I need to install package-devel.i386 rather than package.i386. What is the difference between them?

share|improve this question
In your example package would contain files needed to run programs that use the library. package-devel would contain files needed to compile programs that use the library. – jordanm Sep 27 '12 at 22:20
You're going to need to be a little more specific. There may be valid reasons beyond "to build stuff", but we can't tell you with only the little information you've provided. – Ignacio Vazquez-Abrams Sep 28 '12 at 2:37

Normally a package will contain binaries, libraries, and other resources, so that programs linked against those libraries can run.

But when you need to build a package, header files are required normally, in this case, you install theose -devel packages to supply the desired header file.

Try to learn more about C/C++ build mechanism to help you understand this better.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.