Why break a single source package into many small packages?

Here you can discuss every aspect of Debian. Note: not for support requests!

Why break a single source package into many small packages?

Postby xuhdev » 2017-12-13 18:22

Can anyone shed some light on why Debian breaks a single source package into many small packages? For example, Debian separates development files and actual executable/libraries; it also sometimes separates documents into an individual package (gcc-doc).
User avatar
xuhdev
 
Posts: 11
Joined: 2014-10-07 19:59

Re: Why break a single source package into many small packag

Postby Bulkley » 2017-12-13 18:38

The UNIX philosophy is “Do one thing, and do it well.”


40 years of UNIX
Bulkley
 
Posts: 5435
Joined: 2006-02-11 18:35

Re: Why break a single source package into many small packag

Postby Head_on_a_Stick » 2017-12-14 06:19

xuhdev wrote:Can anyone shed some light on why Debian breaks a single source package into many small packages?

To allow users to strip down their systems as much as possible and save space, this is mainly applicable to embedded systems these days though.

Alpine Linux goes a step further — with separate -doc packages for the man pages and suchlike — and this allows it a very small footprint indeed.

By contrast, Arch Linux mashes all the header libraries in with the packages (hence no -dev packages) so Arch boxen tend to be more bloated even if the actual number of installed packages is significantly lower.
"Men are born ignorant, not stupid. They are made stupid by education." — Bertrand Russell
User avatar
Head_on_a_Stick
 
Posts: 7189
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable