Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 have been trying to understand the difference between Debian's contrib and non-free sections.

Do contrib packages just wrappers around non-free softwares? Like what we have in flashplugin-nonfree in Ubuntu?

Secondly, is nonfree of Debian corresponding to multiverse or restricted or union of both?

I was checking Chapter 2 of Debian Policy Manual

share|improve this question
up vote 13 down vote accepted

non-free is for packages which are straight-up not free. The only requirement is that they are redistributable. The Debian project considers that non-free is not a part of Debian, and is only provided as a convenience for users.

contrib is for packages which are themselves free but depend on packages that are in non-free. It's also not considered a part of Debian.

As Debian doesn't have the main/restricted and universe/multiverse distinction (and Ubuntu doesn't have the non-free and contrib distinction), the union of non-free and contrib corresponds roughly to the union of restricted and multiverse.

share|improve this answer

In a nutshell, these are what Ubuntu's archive divisions mean:

1) main: Free software, officially supported by Canonical

2) universe: Free software, NOT supported by Canonical

3) restricted: Non-free software officially supported by Canonical (includes device drivers mainly, amongst others)

4) multiverse: Non-free software NOT supported by Canonical (flashplugin-nonfree comes over here)

Debian has these divisions:

1) main: All free software that follows the DFSG (Debian Free Software Guidelines)

2) contrib: Free software that follows DFSG but depends on software in non-free.

3) non-free: All kinds of non-free software that doesn't follow the DFSG.

Since Debian doesn't differentiate among packages on the basis of support (since all packages are supported by the Debian community), contrib and non-free packages correspond to Restricted/Multiverse in Ubuntu. By default, all contrib and non-free packages enter Multiverse when they are synced. If Canonical intends to support them, they are moved to restricted.

share|improve this answer
Probably the difference between contrib and non-free could have been better explained like Iain Lane did – Manish Sinha Feb 22 '11 at 14:04
Bilal Akhtar have accuracy here in this explained answer. Is that are in: – Washington Indacochea Delgado May 2 at 13:37

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.