We also have `setuptools extras <http://twistedmatrix.com/documents/current/installation/howto/optional.html>`_ for automatically installing optional packages used by Twisted.
Installing Twisted
------------------
To install the latest version of Twisted using pip::
$ pip install twisted
You can install optional dependencies for specific functionality in Twisted (such as TLS or serial support) by using our setuptools extras (see above).
As an example, to install Twisted with the TLS dependencies, use::
$ pip install twisted[tls]
Additionally, there are packages available in the repositories of:
- Debian and Ubuntu as ``python-twisted`` for Python 2.
- FreeBSD as ``py-twisted`` for Python 2.
- Arch as ``python-twisted`` for Python 2.
- Fedora and RHEL as ``python-twisted`` for Python 2.