How To Install python3-sphinx_rtd_theme on Rocky Linux 8

In this tutorial we learn how to install python3-sphinx_rtd_theme on Rocky Linux 8. python3-sphinx_rtd_theme is Sphinx theme for readthedocs.org

Introduction

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

What is python3-sphinx_rtd_theme

This is a prototype mobile-friendly sphinx theme for readthedocs.org. It’s currently in development and includes some rtd variable checks that can be ignored if you’re just trying to use it on your project outside of that site.

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

Install python3-sphinx_rtd_theme 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-sphinx_rtd_theme using dnf by running the following command:

sudo dnf -y install python3-sphinx_rtd_theme

Install python3-sphinx_rtd_theme 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-sphinx_rtd_theme using yum by running the following command:

sudo yum -y install python3-sphinx_rtd_theme

How To Uninstall python3-sphinx_rtd_theme on Rocky Linux 8

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

sudo dnf remove python3-sphinx_rtd_theme

python3-sphinx_rtd_theme Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/sphinx_rtd_theme
/usr/lib/python3.6/site-packages/sphinx_rtd_theme-0.3.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/sphinx_rtd_theme-0.3.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/sphinx_rtd_theme-0.3.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/sphinx_rtd_theme-0.3.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/sphinx_rtd_theme-0.3.1-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/sphinx_rtd_theme-0.3.1-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/sphinx_rtd_theme-0.3.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/__init__.py
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/__pycache__
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/breadcrumbs.html
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/footer.html
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/layout.html
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/search.html
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/searchbox.html
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/css
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/css/badge_only.css
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/css/theme.css
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/Inconsolata-Bold.ttf
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/Inconsolata-Regular.ttf
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/Lato-Bold.ttf
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/Lato-BoldItalic.ttf
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/Lato-Italic.ttf
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/Lato-Regular.ttf
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/RobotoSlab-Bold.ttf
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/RobotoSlab-Regular.ttf
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/fontawesome-webfont.eot
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/fontawesome-webfont.svg
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/fontawesome-webfont.ttf
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/fontawesome-webfont.woff
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/fonts/fontawesome-webfont.woff2
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/js
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/js/modernizr.min.js
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/static/js/theme.js
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/theme.conf
/usr/lib/python3.6/site-packages/sphinx_rtd_theme/versions.html
/usr/share/doc/python3-sphinx_rtd_theme
/usr/share/doc/python3-sphinx_rtd_theme/README.rst
/usr/share/licenses/python3-sphinx_rtd_theme
/usr/share/licenses/python3-sphinx_rtd_theme/LICENSE

References

Summary

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