How To Install python3-sphinxcontrib-trio on Rocky Linux 8

In this tutorial we learn how to install python3-sphinxcontrib-trio on Rocky Linux 8. python3-sphinxcontrib-trio is Make Sphinx better at documenting Python functions and methods

Introduction

In this tutorial we learn how to install python3-sphinxcontrib-trio on Rocky Linux 8.

What is python3-sphinxcontrib-trio

This sphinx extension helps you document Python code that uses async/await, or abstract methods, or context managers, or generators, or … you get the idea. It works by making sphinx’s regular directives for documenting Python functions and methods smarter and more powerful. The name is because it was originally written for the Trio project, and I’m not very creative. But don’t be put off – there’s nothing Trio- or async-specific about this extension; any Python project can benefit. (Though projects using async/await probably benefit the most, since sphinx’s built-in tools are especially inadequate in this case.)

We can use yum or dnf to install python3-sphinxcontrib-trio on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-sphinxcontrib-trio.

Install python3-sphinxcontrib-trio on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-sphinxcontrib-trio

Install python3-sphinxcontrib-trio on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-sphinxcontrib-trio

How To Uninstall python3-sphinxcontrib-trio on Rocky Linux 8

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

sudo dnf remove python3-sphinxcontrib-trio

python3-sphinxcontrib-trio Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/sphinxcontrib_trio
/usr/lib/python3.6/site-packages/sphinxcontrib_trio-1.1.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/sphinxcontrib_trio-1.1.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/sphinxcontrib_trio-1.1.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/sphinxcontrib_trio-1.1.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/sphinxcontrib_trio-1.1.2-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/sphinxcontrib_trio-1.1.2-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/sphinxcontrib_trio/__init__.py
/usr/lib/python3.6/site-packages/sphinxcontrib_trio/__pycache__
/usr/lib/python3.6/site-packages/sphinxcontrib_trio/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sphinxcontrib_trio/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/sphinxcontrib_trio/__pycache__/_version.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sphinxcontrib_trio/__pycache__/_version.cpython-36.pyc
/usr/lib/python3.6/site-packages/sphinxcontrib_trio/_version.py
/usr/share/doc/python3-sphinxcontrib-trio
/usr/share/doc/python3-sphinxcontrib-trio/README.html
/usr/share/doc/python3-sphinxcontrib-trio/README.rst
/usr/share/doc/python3-sphinxcontrib-trio/html
/usr/share/doc/python3-sphinxcontrib-trio/html/_sources
/usr/share/doc/python3-sphinxcontrib-trio/html/_sources/index.rst.txt
/usr/share/doc/python3-sphinxcontrib-trio/html/_static
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/ajax-loader.gif
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/alabaster.css
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/basic.css
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/comment-bright.png
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/comment-close.png
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/comment.png
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/custom.css
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/doctools.js
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/documentation_options.js
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/down-pressed.png
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/down.png
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/file.png
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/hack.css
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/jquery-3.2.1.js
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/jquery.js
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/minus.png
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/plus.png
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/pygments.css
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/searchtools.js
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/underscore-1.3.1.js
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/underscore.js
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/up-pressed.png
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/up.png
/usr/share/doc/python3-sphinxcontrib-trio/html/_static/websupport.js
/usr/share/doc/python3-sphinxcontrib-trio/html/genindex.html
/usr/share/doc/python3-sphinxcontrib-trio/html/index.html
/usr/share/doc/python3-sphinxcontrib-trio/html/objects.inv
/usr/share/doc/python3-sphinxcontrib-trio/html/search.html
/usr/share/doc/python3-sphinxcontrib-trio/html/searchindex.js
/usr/share/licenses/python3-sphinxcontrib-trio
/usr/share/licenses/python3-sphinxcontrib-trio/LICENSE
/usr/share/licenses/python3-sphinxcontrib-trio/LICENSE.APACHE2
/usr/share/licenses/python3-sphinxcontrib-trio/LICENSE.MIT

References

Summary

In this tutorial we learn how to install python3-sphinxcontrib-trio on Rocky Linux 8 using yum and dnf.