Installations

DOWNLOADING AND INSTALLING PYTHON 2.7

$ wget http://www.python.org/ftp/python/2.7/Python-2.7.tgz
$ tar xzf Python-2.7.tgz
$ cd Python-2.7
$ ./configure --with-pth --with-dec-threads --with-signal-module --prefix=/opt/python-2.7
$ make
# make install
  • site referred-python.org

INSTALLATION OF DJANGO 1.3
$ sudo easy_install django
         OR

First, download Django-1.3.tar.gz. Then:

tar xzvf Django-1.3.tar.gz
cd Django-1.3
sudo python setup.py install

You can verify that Python is installed by typing python from your shell; you should see something like:

Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)

[GCC 4.0.1 (Apple Inc. build 5465)] on darwin

Type “help”, “copyright”, “credits” or “license” for more information.

>>>

To verify that Django can be seen by Python, type python from your shell. Then at the Python prompt, try to import Django:

>>> import django

>>> print django.get_version()

1.3

INSTALLATION OF LATEX
     
       $ sudo apt-get install texlive



Leave a comment