After releasing a new Free Software project to the world, you may be interested to see it included by the main Linux or Free Software distributions. After all this is the easiest way for end-users to download and install your software.

Here are a couple of technical details that will increase the chances that your project will be picked up by a distribution.

Can I distribute this software?

The first question that a distribution maintainer will need to answer is this one: can my distribution legally distribute this piece of software?

There are two ways you can help here:

Once your software has past this check, the next question will be of course: does it actually work?

Will it work on my distro?

To answer this question, the maintainer will have to install the software and figure out all of the external dependencies that need to be installed at the same time.

Therefore, your tarball should include:

  • all of the steps (and exact commands) that are necessary to install your software on a standard Free Software distribution

  • a list of the external libraries and tools that your software requires to run

What's changed?

Another element that can make life easier for the maintainers of your software in downstream distributions is to include indications of what changes from one release to the next.

One important detail is to use a sane versioning system. In a nutshell, this means:

  • Version numbers should always be increasing (e.g. in normal ASCII sorting, 1.0pre1 comes after 1.0).

  • Any change to the contents of the tarball should trigger a version bump.

  • The difference in version numbers from one version to the next should give an indication of the magnitude (minor v. major) of the change.

Another thing that you should include is a changelog (normally in a file called Changes or ChangeLog). This document will be used by maintainers to decide when to upgrade to a new version and to figure out which bugs may be fixed by the new version. It should contain:

  • release date
  • version number
  • summary of the changes since the last version

Finally, to make sure that distro maintainers don't miss new releases of your software, make sure you sign your project up on Freshmeat and announce new releases there.

Proposing your Package to Distros

On Debian, the main way that users and upstream developers can suggest packages for inclusion in the archive is through the Debian Bug Tracking system. Bugs are filled against the special wnpp (Work-needed and Prospective Packages) pseudo-package and are titled something like RFP: superfoo -- bringing more foo to the desktop where RFP stands for "Request For Package".

Alternatively, if you are a Debian/Ubuntu user, you may also want to build and maintain the package yourself. In which case, you will need to find a sponsor.

Other distributions have different procedures. Feel free to leave a comment explaining what these may be.

More detailed information on getting packaged for Debian is available on the Debian wiki.

maybe also a note about not embed libraries into your source as it is a mess for distributions.

If the packager has to spend hours to untangle embedded libraries, they might want to do something else.

Comment by Anonymous
Actually the file that describes releases is called NEWS, not ChangeLog. (And autotools also feature a "check-news" function which force you to update that file if you want to get a release tarball for a new version...)
Comment by Philipp Kern
For Arch, the packaging step is very simple, and comprises just making a PKGBUILD which has a build() function to build the package. Once a PKGBUILD has been made, it can be submitted to AUR ( If it gets enough votes (or a trusted user aka TU likes it), it'll be adopted and moved to the [community] binary repository.
Comment by Abhishek