views:

39

answers:

1

When using apt-get I see some packages have a "dev" suffix after their names:

libreadline5
libreadline-dev
zlib1g
zlib1g-dev

What are these exactly and should I install them?

+9  A: 

You need these to compile and link as they provide headers and libraries to link whereas the standard packages just contain the run-time versions.

Dirk Eddelbuettel
Exactly. If you are just *using* the library, get the non-"dev" version. You only need the "-dev" version if you are using the lib in a program you are writing or if you are compiling an app from source.
bta