|Version 6 (modified by Paul Menzel <paulepanter@…>, 5 years ago) (diff)|
Third-party distributions of Django
Many third-party distributors are now providing versions of Django integrated with their package-management systems. These can make installation and upgrading much easier for users of Django since the integration includes the ability to automatically install dependencies (like database adapters) that Django requires.
Typically, these packages are based on the latest stable release of Django, so if you want to use the development version of Django you’ll need to follow the instructions for installing the development version from our Subversion repository.
The FreeBSD ports system offers both Django 0.96 (py-django) and a more recent, but not current, version based on Django’s trunk (py-django-devel). These are installed in the normal FreeBSD way; for Django 0.96, for example, type: cd /usr/ports/www/py-django && sudo make install clean.
There are two options available for a repository-controlled installation of django. The first option is the availability of django in the 'extra' repository. The availability of this repository on the system allows for the package to be installed with the magic of 'pacman -S django'. The second option is to install an svnbuild of the package. This package can be found on the Archlinux AUR, and can be easily installed with the yaourt program. Using yaourt as a user with sudo access allows for a relative safe way to install user-made packages. There are multiple other django packages on the AUR. You have for example the django-utils package that can be installed in a similar fashion using yaourt.
The Debian package is named python-django and can be installed using the following command with root privileges.
aptitude install python-django
all Debian releases, see Debian Reference • Chapter 6 – Debian package management for instructions
A Django package is available for openSUSE Linux in the openSUSE Build Service. The current package can be installed by subscribing to the devel:languages:python project and typing 'zypper install python-django'. Alternatively, you can use a one-click-install link.
RPM Based Distributions
Mac OS X
Django can be installed via the MacPorts system. If you’re using Python 2.5, type sudo port install py25-django. For Python 2.6, type sudo port install py26-django. MacPorts can also be used to install a database and the Python interface to your chosen database.