Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Recommended way of installing Django is using easy_install, Easy_install is a python module used to install, update and manage python packages. To use easy install you need to install python setup tools, Open a terminal and execute the following command.
Advertisements
For Ubuntu 13.10 / 13.04 / 12.10 / 12.04 / Linux Mint
sudo apt-get install python-setuptools
For Fedora 19 / 18 / 17 / 16 / Cent OS
sudo yum install python-setuptools
After Install python setup tools, you can use easy_install to install the Django or Update to the latest version.
sudo easy_install django
Alternate method
Download Django from official site. Open a terminal and move the directory to the downloaded directory, for example if the downloaded file is in Downloads directory use the below command
Advertisements
cd Downloads
Now extract the tar file.
tar xzvf Django-1.5.4.tar.gz
After extracting it, Move to extracted django directory.
cd Django-1.5.4
Now run the following command to install it.
sudo python setup.py install
Another recommended way for development is using virtualenv, Check the following links.