Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have written a program in C and I wish to create an Ubuntu .deb package. How do I do this? How do I get it included in the Ubuntu official repositories?

share|improve this question
You're asking two separate but obviously related questions. Both have been covered here before. I suggest you take a look at this answer:… – andrewsomething Dec 19 '10 at 20:52
how about accepting an answer?? – RobotHumans Dec 30 '10 at 1:06

This is the best place to start NewPackages it gives you the low down on building and submitting your package. However its not going to happen over night so a short term alternative and something you would need to do at some point any way is set up a launchpad ppa suggested by aking1012 that way you can inform people who would like to use it how to add your ppa and get update of your program and they will be able to give you bug info.

share|improve this answer
nice link with NewPackages. It clarifies the getting into ubuntu procedure, on which I had no idea. Good 2 know, you should get the check. – RobotHumans Dec 16 '10 at 15:22
I'm going to guess you probably know more about deb packaging than I do. The first page I found was for a community documentation for 6.10 and thought there might be something more upto date than that. – Allan Dec 16 '10 at 15:59

Debian maintainers guide covers making debs:

getting it included in the repos...think there is a registration/review procedure...anyway, it wouldn't get it into official repos, but launchpad is a start.

launchpad is discussed here:

share|improve this answer

There are some good packaging answers here:

Simplest Debian Packaging Guide?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.