1 | =============================================
|
---|
2 | Distribution specific notes to install Django
|
---|
3 | =============================================
|
---|
4 |
|
---|
5 | Introduction
|
---|
6 | ============
|
---|
7 |
|
---|
8 | Those from the Linux (and almost all unices) are used to first look if the
|
---|
9 | software they want is packaged for their distribution. And, yes, there are
|
---|
10 | distributions which package Django!
|
---|
11 |
|
---|
12 | If your distribution is listed below, you are in luck, there's a package
|
---|
13 | for you.
|
---|
14 |
|
---|
15 | Debian
|
---|
16 | ======
|
---|
17 | On 25-10-2006 Django hit the Debian unstable archive, and it entered testing
|
---|
18 | on time, so the next Debian stable release (etch) will include it!
|
---|
19 |
|
---|
20 | If you are running `etch`_, `sid`_ or have apt sources for them you can simply run:
|
---|
21 | apt-get install python-django
|
---|
22 |
|
---|
23 | Or use your favorite package manager, it's up to you!
|
---|
24 |
|
---|
25 | Due to policy changes on the python packaging on Debian you are not likely to
|
---|
26 | succeed installing those packages on sarge (current stable release).
|
---|
27 |
|
---|
28 | You will also need at least one database backend whose package names are:
|
---|
29 | * python-psycopg
|
---|
30 | * python-psycopg2
|
---|
31 | * python-pysqlite2
|
---|
32 | * python-mysqldb
|
---|
33 |
|
---|
34 | And for the ImageField, which requires PIL: python-imaging
|
---|
35 | Also python-ipython is recommended to provide an enhaced shell to manage.py
|
---|
36 |
|
---|
37 | .. _etch: http://www.debian.org/releases/etch/
|
---|
38 | .. _sid: http://www.debian.org/releases/sid/
|
---|