How To Install python3-txtorcon on Fedora 36

In this tutorial we learn how to install python3-txtorcon in Fedora 36. python3-txtorcon is Twisted-based Tor controller client

Introduction

In this tutorial we learn how to install python3-txtorcon on Fedora 36.

What is python3-txtorcon

txtorcon is an implementation of the control-spec for Tor using the Twisted networking library for Python. This is useful for writing utilities to control or make use of Tor in event-based Python programs. If your Twisted program supports endpoints (like twistd does) your server or client can make use of Tor immediately, with no code changes. Start your own Tor or connect to one and get live stream, circuit, relay updates; read and change config; monitor events; build circuits; create onion services; etcetera.

We can use yum or dnf to install python3-txtorcon on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-txtorcon.

Install python3-txtorcon on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-txtorcon using dnf by running the following command:

sudo dnf -y install python3-txtorcon

Install python3-txtorcon on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-txtorcon using yum by running the following command:

sudo yum -y install python3-txtorcon

How To Uninstall python3-txtorcon on Fedora 36

To uninstall only the python3-txtorcon package we can use the following command:

sudo dnf remove python3-txtorcon

python3-txtorcon Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/twisted/plugins/__pycache__
/usr/lib/python3.10/site-packages/twisted/plugins/__pycache__/txtorcon_endpoint_parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/twisted/plugins/__pycache__/txtorcon_endpoint_parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/twisted/plugins/txtorcon_endpoint_parser.py
/usr/lib/python3.10/site-packages/txtorcon
/usr/lib/python3.10/site-packages/txtorcon-21.1.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/txtorcon-21.1.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/txtorcon-21.1.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/txtorcon-21.1.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/txtorcon-21.1.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/txtorcon-21.1.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/txtorcon/__init__.py
/usr/lib/python3.10/site-packages/txtorcon/__pycache__
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/_metadata.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/_metadata.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/_microdesc_parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/_microdesc_parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/addrmap.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/addrmap.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/attacher.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/attacher.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/circuit.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/circuit.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/controller.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/controller.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/controller_py3.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/controller_py3.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/endpoints.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/endpoints.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/interface.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/interface.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/log.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/log.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/onion.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/onion.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/router.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/router.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/socks.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/socks.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/spaghetti.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/spaghetti.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/stream.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/stream.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/testutil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/testutil.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/torconfig.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/torconfig.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/torcontrolprotocol.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/torcontrolprotocol.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/torinfo.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/torinfo.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/torstate.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/torstate.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/web.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/txtorcon/__pycache__/web.cpython-310.pyc
/usr/lib/python3.10/site-packages/txtorcon/_metadata.py
/usr/lib/python3.10/site-packages/txtorcon/_microdesc_parser.py
/usr/lib/python3.10/site-packages/txtorcon/addrmap.py
/usr/lib/python3.10/site-packages/txtorcon/attacher.py
/usr/lib/python3.10/site-packages/txtorcon/circuit.py
/usr/lib/python3.10/site-packages/txtorcon/controller.py
/usr/lib/python3.10/site-packages/txtorcon/controller_py3.py
/usr/lib/python3.10/site-packages/txtorcon/endpoints.py
/usr/lib/python3.10/site-packages/txtorcon/interface.py
/usr/lib/python3.10/site-packages/txtorcon/log.py
/usr/lib/python3.10/site-packages/txtorcon/onion.py
/usr/lib/python3.10/site-packages/txtorcon/router.py
/usr/lib/python3.10/site-packages/txtorcon/socks.py
/usr/lib/python3.10/site-packages/txtorcon/spaghetti.py
/usr/lib/python3.10/site-packages/txtorcon/stream.py
/usr/lib/python3.10/site-packages/txtorcon/testutil.py
/usr/lib/python3.10/site-packages/txtorcon/torconfig.py
/usr/lib/python3.10/site-packages/txtorcon/torcontrolprotocol.py
/usr/lib/python3.10/site-packages/txtorcon/torinfo.py
/usr/lib/python3.10/site-packages/txtorcon/torstate.py
/usr/lib/python3.10/site-packages/txtorcon/util.py
/usr/lib/python3.10/site-packages/txtorcon/web.py
/usr/share/doc/python3-txtorcon
/usr/share/doc/python3-txtorcon/README.rst
/usr/share/licenses/python3-txtorcon
/usr/share/licenses/python3-txtorcon/LICENSE

References

Summary

In this tutorial we learn how to install python3-txtorcon on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).