How To Install python3-yarl on Rocky Linux 8

In this tutorial we learn how to install python3-yarl on Rocky Linux 8. python3-yarl is A Python module to handle URLs

Introduction

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

What is python3-yarl

The module provides handy URL class for URL parsing and changing.

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

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

sudo dnf -y install python3-yarl

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

sudo yum -y install python3-yarl

How To Uninstall python3-yarl on Rocky Linux 8

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

sudo dnf remove python3-yarl

python3-yarl Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/fed121f5b2cac30064b5734e49e2388d53f04b
/usr/lib64/python3.6/site-packages/yarl
/usr/lib64/python3.6/site-packages/yarl-1.4.2-py3.6.egg-info
/usr/lib64/python3.6/site-packages/yarl-1.4.2-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/yarl-1.4.2-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/yarl-1.4.2-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/yarl-1.4.2-py3.6.egg-info/requires.txt
/usr/lib64/python3.6/site-packages/yarl-1.4.2-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/yarl/__init__.py
/usr/lib64/python3.6/site-packages/yarl/__init__.pyi
/usr/lib64/python3.6/site-packages/yarl/__pycache__
/usr/lib64/python3.6/site-packages/yarl/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/yarl/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/yarl/__pycache__/quoting.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/yarl/__pycache__/quoting.cpython-36.pyc
/usr/lib64/python3.6/site-packages/yarl/_quoting.c
/usr/lib64/python3.6/site-packages/yarl/_quoting.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/yarl/_quoting.pyx
/usr/lib64/python3.6/site-packages/yarl/py.typed
/usr/lib64/python3.6/site-packages/yarl/quoting.py
/usr/share/doc/python3-yarl
/usr/share/doc/python3-yarl/CHANGES.rst
/usr/share/doc/python3-yarl/README.rst
/usr/share/licenses/python3-yarl
/usr/share/licenses/python3-yarl/LICENSE

References

Summary

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