I have been trying to understand the difference between Debian's contrib and non-free sections as described in Chapter 2 of the Debian Policy Manual.
Are contrib packages just wrappers around non-free softwares? Like what we have in flashplugin-nonfree
in Ubuntu?
Secondly, does the nonfree section of Debian correspond to Ubuntu's multiverse or restricted repositories or is it the union of both?
In a nutshell, these are what Ubuntu's archive divisions mean:
1)
main
: Free software, officially supported by Canonical2)
universe
: Free software, NOT supported by Canonical3)
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 innon-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
andnon-free
packages correspond toRestricted
/Multiverse
in Ubuntu. By default, allcontrib
andnon-free
packages enterMultiverse
when they are synced. If Canonical intends to support them, they are moved torestricted
.non-free
is for packages which are straight-up not free. The only requirement is that they are redistributable. The Debian project considers thatnon-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 innon-free
. It's also not considered a part of Debian.As Debian doesn't have the
main
/restricted
anduniverse
/multiverse
distinction (and Ubuntu doesn't have thenon-free
andcontrib
distinction), the union ofnon-free
andcontrib
corresponds roughly to the union ofrestricted
andmultiverse
.