How To Install python3-hglib on Fedora 36

In this tutorial we learn how to install python3-hglib in Fedora 36. python3-hglib is Mercurial Python library

Introduction

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

What is python3-hglib

python-hglib is a library with a fast, convenient interface to Mercurial. It uses Mercurials command server for communication with hg.

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

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

sudo dnf -y install python3-hglib

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

sudo yum -y install python3-hglib

How To Uninstall python3-hglib on Fedora 36

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

sudo dnf remove python3-hglib

python3-hglib Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/hglib
/usr/lib/python3.10/site-packages/hglib/__init__.py
/usr/lib/python3.10/site-packages/hglib/__pycache__
/usr/lib/python3.10/site-packages/hglib/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/client.cpython-310.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/context.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/context.cpython-310.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/error.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/error.cpython-310.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/merge.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/merge.cpython-310.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/templates.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/templates.cpython-310.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/hglib/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/hglib/client.py
/usr/lib/python3.10/site-packages/hglib/context.py
/usr/lib/python3.10/site-packages/hglib/error.py
/usr/lib/python3.10/site-packages/hglib/merge.py
/usr/lib/python3.10/site-packages/hglib/templates.py
/usr/lib/python3.10/site-packages/hglib/util.py
/usr/lib/python3.10/site-packages/python_hglib-2.6.2-py3.10.egg-info
/usr/share/licenses/python3-hglib
/usr/share/licenses/python3-hglib/LICENSE

References

Summary

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