Skip to content

Commit

Permalink
Merge pull request #2480 from kofrezo/update_docs_install
Browse files Browse the repository at this point in the history
Update Debian and Ubuntu distribution information
  • Loading branch information
tilgovi committed Dec 21, 2020
2 parents 28a4c1b + a4407ab commit 03c642e
Showing 1 changed file with 29 additions and 23 deletions.
52 changes: 29 additions & 23 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,62 +96,68 @@ advantages:
rolled back in case of incompatibility. The package can also be purged
entirely from the system in seconds.

stable ("stretch")
stable ("buster")
------------------

The version of Gunicorn in the Debian_ "stable" distribution is 19.6.0 (June
2017). You can install it using::
The version of Gunicorn in the Debian_ "stable" distribution is 19.9.0
(December 2020). You can install it using::

$ sudo apt-get install gunicorn
$ sudo apt-get install gunicorn3

You can also use the most recent version by using `Debian Backports`_.
First, copy the following line to your ``/etc/apt/sources.list``::
You can also use the most recent version 20.0.4 (December 2020) by using
`Debian Backports`_. First, copy the following line to your
``/etc/apt/sources.list``::

deb http://ftp.debian.org/debian stretch-backports main
deb http://ftp.debian.org/debian buster-backports main

Then, update your local package lists::

$ sudo apt-get update

You can then install the latest version using::

$ sudo apt-get -t stretch-backports install gunicorn
$ sudo apt-get -t buster-backports install gunicorn

oldstable ("jessie")
--------------------
oldstable ("stretch")
---------------------

The version of Gunicorn in the Debian_ "oldstable" distribution is 19.0 (June
2014). You can install it using::
While Debian releases newer than Stretch will give you gunicorn with Python 3
support no matter if you install the gunicorn or gunicorn3 package for Stretch
you specifically have to install gunicorn3 to get Python 3 support.

$ sudo apt-get install gunicorn
The version of Gunicorn in the Debian_ "oldstable" distribution is 19.6.0
(December 2020). You can install it using::

You can also use the most recent version by using `Debian Backports`_.
First, copy the following line to your ``/etc/apt/sources.list``::
$ sudo apt-get install gunicorn3

deb http://ftp.debian.org/debian jessie-backports main
You can also use the most recent version 19.7.1 (December 2020) by using
`Debian Backports`_. First, copy the following line to your
``/etc/apt/sources.list``::

deb http://ftp.debian.org/debian stretch-backports main

Then, update your local package lists::

$ sudo apt-get update

You can then install the latest version using::

$ sudo apt-get -t jessie-backports install gunicorn
$ sudo apt-get -t stretch-backports install gunicorn3

Testing ("buster") / Unstable ("sid")
-------------------------------------
Testing ("bullseye") / Unstable ("sid")
---------------------------------------

"buster" and "sid" contain the latest released version of Gunicorn. You can
install it in the usual way::
"bullseye" and "sid" contain the latest released version of Gunicorn 20.0.4
(December 2020). You can install it in the usual way::

$ sudo apt-get install gunicorn


Ubuntu
======

Ubuntu_ 12.04 (trusty) or later contains the Gunicorn package by default so that
you can install it in the usual way::
Ubuntu_ 20.04 LTS (Focal Fossa) or later contains the Gunicorn package by
default 20.0.4 (December 2020) so that you can install it in the usual way::

$ sudo apt-get update
$ sudo apt-get install gunicorn
Expand Down

0 comments on commit 03c642e

Please sign in to comment.