| 1 |
=================================== |
|---|
| 2 |
Third-party distributions of Django |
|---|
| 3 |
=================================== |
|---|
| 4 |
|
|---|
| 5 |
Several third-party distributors are now providing versions of Django integrated |
|---|
| 6 |
with their package-management systems. These can make installation and upgrading |
|---|
| 7 |
much easier for users of Django since the integration includes the ability to |
|---|
| 8 |
automatically install dependencies (like database adapters) that Django |
|---|
| 9 |
requires. |
|---|
| 10 |
|
|---|
| 11 |
Typically, these packages are based on the latest stable release of Django, so |
|---|
| 12 |
if you want to use the development version of Django you'll need to follow the |
|---|
| 13 |
instructions for `installing the development version`_ from our Subversion |
|---|
| 14 |
repository. |
|---|
| 15 |
|
|---|
| 16 |
.. _installing the development version: ../install/#installing-the-development-version |
|---|
| 17 |
|
|---|
| 18 |
FreeBSD |
|---|
| 19 |
======= |
|---|
| 20 |
|
|---|
| 21 |
The `FreeBSD`_ ports system offers both Django 0.96 (`py-django`_) and a more |
|---|
| 22 |
recent, but not current, version based on Django's trunk (`py-django-devel`_). |
|---|
| 23 |
These are installed in the normal FreeBSD way; for Django 0.96, for example, type: |
|---|
| 24 |
``cd /usr/ports/www/py-django && sudo make install clean``. |
|---|
| 25 |
|
|---|
| 26 |
.. _FreeBSD: http://www.freebsd.org/ |
|---|
| 27 |
.. _py-django: http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/py-django/ |
|---|
| 28 |
.. _py-django-devel: http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/py-django-devel/ |
|---|
| 29 |
|
|---|
| 30 |
Linux distributions |
|---|
| 31 |
=================== |
|---|
| 32 |
|
|---|
| 33 |
Debian |
|---|
| 34 |
------ |
|---|
| 35 |
|
|---|
| 36 |
A `packaged version of Django`_ is available for `Debian GNU/Linux`_. Version |
|---|
| 37 |
0.95.1 is available in the "stable" repository; Version 0.96 is available in |
|---|
| 38 |
the "testing" and "unstable" repositories. Regardless of your chosen repository, |
|---|
| 39 |
you can install Django by typing ``apt-get install python-django``. |
|---|
| 40 |
|
|---|
| 41 |
When you install this package, ``apt`` will recommend installing a database |
|---|
| 42 |
adapter; you should select and install the adapter for whichever database you |
|---|
| 43 |
plan to use with Django. |
|---|
| 44 |
|
|---|
| 45 |
.. _Debian GNU/Linux: http://www.debian.org/ |
|---|
| 46 |
.. _packaged version of Django: http://packages.debian.org/stable/python/python-django |
|---|
| 47 |
|
|---|
| 48 |
Fedora |
|---|
| 49 |
------ |
|---|
| 50 |
|
|---|
| 51 |
A Django package is available for `Fedora Linux`_, in the "Fedora Extras" |
|---|
| 52 |
repository. The `current Fedora package`_ is based on Django 0.96, and can be |
|---|
| 53 |
installed by typing ``yum install Django``. The previous link is for the i386 |
|---|
| 54 |
binary. Users of other architectures should be able to use that as a starting |
|---|
| 55 |
point to find their preferred version. |
|---|
| 56 |
|
|---|
| 57 |
.. _Fedora Linux: http://fedora.redhat.com/ |
|---|
| 58 |
.. _current Fedora package: http://download.fedora.redhat.com/pub/fedora/linux/extras/6/i386/repoview/Django.html |
|---|
| 59 |
|
|---|
| 60 |
Gentoo |
|---|
| 61 |
------ |
|---|
| 62 |
|
|---|
| 63 |
A Django package is available for `Gentoo Linux`_, and is based on Django 0.96.1. |
|---|
| 64 |
The `current Gentoo package`_ can be installed by typing ``emerge django``. |
|---|
| 65 |
|
|---|
| 66 |
.. _Gentoo Linux: http://www.gentoo.org/ |
|---|
| 67 |
.. _current Gentoo package: http://packages.gentoo.org/package/django |
|---|
| 68 |
|
|---|
| 69 |
Ubuntu |
|---|
| 70 |
------ |
|---|
| 71 |
|
|---|
| 72 |
The Debian ``python-django`` package is also available for `Ubuntu Linux`_, in |
|---|
| 73 |
the "universe" repository for Ubuntu 7.10 ("Gutsy Gibbon"). The `current Ubuntu |
|---|
| 74 |
package`_ is based on Django 0.96.1 and can be installed in the same fashion as |
|---|
| 75 |
for Debian. |
|---|
| 76 |
|
|---|
| 77 |
.. _Ubuntu Linux: http://www.ubuntu.com/ |
|---|
| 78 |
.. _current Ubuntu package: http://packages.ubuntu.com/gutsy/python/python-django |
|---|
| 79 |
|
|---|
| 80 |
|
|---|
| 81 |
Mac OS X |
|---|
| 82 |
======== |
|---|
| 83 |
|
|---|
| 84 |
MacPorts |
|---|
| 85 |
-------- |
|---|
| 86 |
|
|---|
| 87 |
Django 0.96 can be installed via the `MacPorts`_ system. If you're using Python 2.4, |
|---|
| 88 |
type ``sudo port install py-django-devel``. For Python 2.5, type ``sudo port |
|---|
| 89 |
install py25-django-devel``. MacPorts can also be used to install a database, |
|---|
| 90 |
and the Python interface to your chosen database. |
|---|
| 91 |
|
|---|
| 92 |
.. _MacPorts: http://www.macports.org/ |
|---|
| 93 |
|
|---|
| 94 |
For distributors |
|---|
| 95 |
================ |
|---|
| 96 |
|
|---|
| 97 |
If you'd like to package Django for distribution, we'd be happy to help out! |
|---|
| 98 |
Please join the `django-developers mailing list`_ and introduce yourself. |
|---|
| 99 |
|
|---|
| 100 |
We also encourage all distributors to subscribe to the `django-announce mailing |
|---|
| 101 |
list`_, which is a (very) low-traffic list for announcing new releases of Django |
|---|
| 102 |
and important bugfixes. |
|---|
| 103 |
|
|---|
| 104 |
.. _django-developers mailing list: http://groups.google.com/group/django-developers/ |
|---|
| 105 |
.. _django-announce mailing list: http://groups.google.com/group/django-announce/ |
|---|