distributions.txt 3.9 KB

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