Installing Django 1.7 on Ubuntu 14.04

First of all you need to Install Python (if not)

Now Type in terminal:

sudo apt-get install python-setuptools

Installing Django 1.7

  • Go to http://djangoproject.com/
  • Download latest release 1.7.1 .tar.gz file (on right side of website).
  • After finished downloading, now open terminal and type:
  • cd Downloads

    (or your download destination directory)

  • tar -zxvf Django

    and press tab and it will autocomplete.

  • cd Django (press tab)
  • Then
    sudo python setup.py install
  • Then it will take a few seconds to complete.
  • Then after completion, check if it is installed or not:
  • in terminal, type:
    python
  • then
    >>> import django
    >>> django.get_version()

    The output will be:

    '1.7.1'

WHAT NEXT?

Tutorials:

http://tangowithdjango.com

and visit http://djangoproject.com for official Documentation.

http://tutorial.djangogirls.org/

To Uninstall Django, install pip:

sudo apt-get install python-pip

Then ,

pip uninstall Django
Advertisements

One thought on “Installing Django 1.7 on Ubuntu 14.04

  1. Pingback: Inducting Librehatti | Mandeep Singh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s