What's the difference between multiverse, universe, restricted and main?

From the Ubuntu documentation:

The repository components are:

  • Main - Officially supported software.

  • Restricted - Supported software that is not available under a completely free license.

  • Universe - Community maintained software, i.e. not officially supported software.

  • Multiverse - Software that is not free.

For example:

  • The Ubuntu Desktop team manages the gnome-terminal package, it is officially supported and in the main repository.

  • bcmwl-kernel-source (the Broadcom wireless driver) is in restricted, since it is a supported, but proprietary, driver.

  • Community written software that is not officially supported (for example, the game supertuxkart) is in the universe repository.

  • Packages like ubuntu-restricted-extras (which contains proprietary codecs that allow you to play media files, including flash player) are in the multiverse repository because they are not free and their restrictive licenses prevent inclusion in the default package set.


From Wikipedia:-

classification


Ubuntu provides four different official software repositories:

  • Main

  • Restricted

  • Universe

  • Multiverse

Main – Officially Supported, Open-Source Software:

Licence: Open Source
Updates: Canonical provides critical updates.

Restricted – Officially Supported, Closed-Source Software:

Licence: Proprietary
Updates: Canonical provides critical updates supplied by the developers.

Universe – Community-Maintained, Open-Source Software:

Licence: Open source
Updates: Canonical does not provide update.
Some updates may be provided by the Ubuntu community.

Multiverse – Unsupported, Closed-Source and Patent-Encumbered Software:

Licence: Unknown
Updates: Canonical does not provide updates.
Some updates may be provided by Ubuntu community.

About Canonical and Ubuntu

reference here