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 am trying to package a program I wrote that depends on Django 1.4.1 in Ubuntu 12.04. As Django 1.4.1 isn't available in Precise I am wondering if it is best to:

Package up Django 1.4.1 and drop it in my ppa


write a script that wgets Django at build time and installs.


Something better that I haven't thought of.

I am still inexperienced with packaging and would appreciate some advice


share|improve this question
up vote 2 down vote accepted

A general solution is putting a notice on your PPA description for users to manually install newer version, e.g. "install Django 1.4.1 via this PPA first: [...]". However, I can't seem to find any semi-official PPA providing this latest release of Django.

For Quantal (12.10), 1.4.1 is already included in the main repositories (python-django in Quantal). So, try to re-build the regular Ubuntu package for Precise and put it in your PPA. That seems to be the easiest and best way in your case, I think. More people can profit from your work of backporting this Django version for Precise! It also allows you to set a clear dependency on your package.

I would avoid any scripts downloading and installing packages from source, unless licensing issues are forcing you this way - e.g. Adobe Flash, Oracle Java, MS fonts, etc.

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.