Django is one of the coolest web application development framework, for Python developers. Django is a free and open source web development framework (released under BSD license). Django is easy to learn and allows Rapid Development with clean and pragmatic approach (in design).

Recently Django version 1.4 has released but in Ubuntu 12.04 beta or 11.10 or any older versions you can’t get the latest version from the official package repository (In 12.04 Beta 2, the latest version was 1.3). So if you want to try latest version of Django on Ubuntu, then you must install it either from a PPA or manually from source code or by other means.


How to Install Django in Ubuntu

Django 1.4 requires Python 2.5 or later but you shouldn’t wory about that because in Ubuntu, Python 2.7 is installed by default. Open a terminal and execute these commands (you need sudo privilege, just enter your login password) :

wget ""
tar xzvf Django-1.4.tar.gz
cd Django-1.4
sudo python install

Join the Conversation


    1. I replaced the first two commands with simply downloading the latest version from the site, selecting “open” with archive manager, and extracting folder.

  1. More straigthforward and cleaner is the ppa :

    sudo add-apt-repository ppa:dholbach/ppa
    sudo apt-get update
    sudo apt-get install python-django

Leave a comment

Your email address will not be published. Required fields are marked *