How and why to create -dbg, -dev, -doc packages?

Posted by Nico on Ask Ubuntu See other posts from Ask Ubuntu or by Nico
Published on 2012-08-31T18:20:46Z Indexed on 2012/08/31 21:49 UTC
Read the original article Hit count: 325

Filed under:
|
|

I'm writing an Ubuntu package for a package which essentially provides a number of libraries and headers which then be used to build other software. The package also breaks up in smaller subpackages which are interdependent; in this sense the package is quite similar to boost.

I noticed that packages like boost provide

[...]
libboost-dbg
libboost-dev
libboost-doc
[...]
libboost-all-dev
[...]

but nothing that goes by the name boost or libboost.

  • What is the idea behind this?
  • What are the purposes of the -dbg, -dev, and -doc packages?
  • Are there any instructions provided on how to write build files for those packages?

© Ask Ubuntu or respective owner

Related posts about packaging

Related posts about debugging