How To Install python3-routes on Rocky Linux 8

In this tutorial we learn how to install python3-routes on Rocky Linux 8. python3-routes is Rails-like routes for Python3

Introduction

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

What is python3-routes

Routes is a Python re-implementation of the Rails routes system for mapping URL’s to Controllers/Actions and generating URL’s. Routes makes it easy to create pretty and concise URL’s that are RESTful with little effort. This package contains the module built for python3.

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

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

sudo dnf -y install python3-routes

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

sudo yum -y install python3-routes

How To Uninstall python3-routes on Rocky Linux 8

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

sudo dnf remove python3-routes

python3-routes Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/Routes-2.4.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/Routes-2.4.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/Routes-2.4.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/Routes-2.4.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/Routes-2.4.1-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/Routes-2.4.1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/Routes-2.4.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/routes
/usr/lib/python3.6/site-packages/routes/__init__.py
/usr/lib/python3.6/site-packages/routes/__pycache__
/usr/lib/python3.6/site-packages/routes/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/routes/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/routes/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/routes/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/routes/__pycache__/mapper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/routes/__pycache__/mapper.cpython-36.pyc
/usr/lib/python3.6/site-packages/routes/__pycache__/middleware.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/routes/__pycache__/middleware.cpython-36.pyc
/usr/lib/python3.6/site-packages/routes/__pycache__/route.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/routes/__pycache__/route.cpython-36.pyc
/usr/lib/python3.6/site-packages/routes/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/routes/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/routes/base.py
/usr/lib/python3.6/site-packages/routes/mapper.py
/usr/lib/python3.6/site-packages/routes/middleware.py
/usr/lib/python3.6/site-packages/routes/route.py
/usr/lib/python3.6/site-packages/routes/util.py
/usr/share/doc/python3-routes
/usr/share/doc/python3-routes/CHANGELOG.rst
/usr/share/doc/python3-routes/README.rst
/usr/share/doc/python3-routes/docs
/usr/share/doc/python3-routes/docs/Makefile
/usr/share/doc/python3-routes/docs/changes.rst
/usr/share/doc/python3-routes/docs/conf.py
/usr/share/doc/python3-routes/docs/generating.rst
/usr/share/doc/python3-routes/docs/glossary.rst
/usr/share/doc/python3-routes/docs/index.rst
/usr/share/doc/python3-routes/docs/introduction.rst
/usr/share/doc/python3-routes/docs/modules
/usr/share/doc/python3-routes/docs/modules/index.rst
/usr/share/doc/python3-routes/docs/modules/mapper.rst
/usr/share/doc/python3-routes/docs/modules/middleware.rst
/usr/share/doc/python3-routes/docs/modules/route.rst
/usr/share/doc/python3-routes/docs/modules/routes.rst
/usr/share/doc/python3-routes/docs/modules/util.rst
/usr/share/doc/python3-routes/docs/porting.rst
/usr/share/doc/python3-routes/docs/restful.rst
/usr/share/doc/python3-routes/docs/routes-logo.png
/usr/share/doc/python3-routes/docs/setting_up.rst
/usr/share/doc/python3-routes/docs/src
/usr/share/doc/python3-routes/docs/src/README
/usr/share/doc/python3-routes/docs/src/routes-logo-boehme.svg
/usr/share/doc/python3-routes/docs/todo.rst
/usr/share/doc/python3-routes/docs/uni_redirect_rest.rst
/usr/share/licenses/python3-routes
/usr/share/licenses/python3-routes/LICENSE.txt

References

Summary

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