How To Install python3-surt on Fedora 36

In this tutorial we learn how to install python3-surt in Fedora 36. python3-surt is Sort-friendly URI Reordering Transform (SURT) python package

Introduction

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

What is python3-surt

SURT is a Python package to implement a Sort-friendly URI Reordering Transform, which is a transformation applied to URIs which makes their left-to-right representation better match the natural hierarchy of domain names.

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

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

sudo dnf -y install python3-surt

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

sudo yum -y install python3-surt

How To Uninstall python3-surt on Fedora 36

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

sudo dnf remove python3-surt

python3-surt Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/surt
/usr/lib/python3.10/site-packages/surt-0.3.1.dist-info
/usr/lib/python3.10/site-packages/surt-0.3.1.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/surt-0.3.1.dist-info/LICENSE
/usr/lib/python3.10/site-packages/surt-0.3.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/surt-0.3.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/surt-0.3.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/surt-0.3.1.dist-info/zip-safe
/usr/lib/python3.10/site-packages/surt/DefaultIAURLCanonicalizer.py
/usr/lib/python3.10/site-packages/surt/GoogleURLCanonicalizer.py
/usr/lib/python3.10/site-packages/surt/IAURLCanonicalizer.py
/usr/lib/python3.10/site-packages/surt/URLRegexTransformer.py
/usr/lib/python3.10/site-packages/surt/__init__.py
/usr/lib/python3.10/site-packages/surt/__pycache__
/usr/lib/python3.10/site-packages/surt/__pycache__/DefaultIAURLCanonicalizer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/DefaultIAURLCanonicalizer.cpython-310.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/GoogleURLCanonicalizer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/GoogleURLCanonicalizer.cpython-310.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/IAURLCanonicalizer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/IAURLCanonicalizer.cpython-310.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/URLRegexTransformer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/URLRegexTransformer.cpython-310.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/handyurl.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/handyurl.cpython-310.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/surt.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/surt/__pycache__/surt.cpython-310.pyc
/usr/lib/python3.10/site-packages/surt/handyurl.py
/usr/lib/python3.10/site-packages/surt/surt.py
/usr/share/doc/python3-surt
/usr/share/doc/python3-surt/README.rst
/usr/share/licenses/python3-surt
/usr/share/licenses/python3-surt/LICENSE

References

Summary

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