Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I want to be able to recreate specific packages by compiling the source code of the package. To compile the source code one has to run the configuration process, followed by the compilation process. I know how to do it, just not what specifics Ubuntu is supplying.

Packages could be Empathy, Banshee or specific libraries for that matter. I can compile them just fine using the (general) information provided at each project site. In a lot of cases I do, however, end up with a build which is just not quite the same as the original one. Slightly different menu options, some functionality functioning differently or not at all, etc.

Is there any source where the configuration and compilation options can be found which are used for the packages included in Ubuntu? Possible also Ubuntu or Debian specific patches.

share|improve this question

1 Answer 1

Ubuntu binaries may contain patches as well.

Best thing to do is to download the source with apt-source

You may need to Enable the source repositories

apt-source will download and unpackage the source code.

apt-source foo

You can then examine the source code, any patches, and the configuration options.

The compile options are in debian/rules

Note: there is sometimes some variation in some of the packages.

See also

The packaging guide is invaluable when learning how the source code is packaged

share|improve this answer

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.