debian mentors/ glossary/ Source Package

Source Package

A source package contains all the information needed to build a .deb (BinaryPackage).

There are three components.

For a Native package it is different, there is no .diff.gz file, as there are no Debian-specific changes, as the whole package is Debian-specific. Also the tarball is named differently, there is no orig in the name, as it is not modified.

If you wish someone to work with your package (not just install it) you must provide them with the source package (all three bits above), rather than a .deb BinaryPackage. This is because they need to see the source to understand what is going on. Usually just providing a link to the .dsc is sufficient, as they provide all the information needed, and tools like dget can be used to download all the parts.