[Fixed]-How to upgrade Django on ubuntu?


If you really can’t upgrade the Ubuntu package as suggested by Ludwik, you might want to consider installing the source directly. It’s pretty easy, and is fully documented here.


Easiest way to upgrade Django on Ububtu is to make use of the easy_install script provided by the python-setuptools package.

sudo apt-get install python-setuptools
sudo easy_install --upgrade django


One of the way is typing this command on console:

pip install --upgrade django


It looks like you’ve got a really old version of Ubuntu. Django 0.96.1 was distributed last time with Ubuntu 8.04. Official repositories for the most recent Ubuntu 9.10 includes Django 1.1.1, which is the most recent version of Django. You can upgrade Ubuntu or try to install the new .deb package in your old OS (although I can’t promise that all dependencies will be met by Ubuntu 8.04).

Leave a comment