How To Install python3-pychm on Fedora 36

In this tutorial we learn how to install python3-pychm in Fedora 36. python3-pychm is Python package for CHM files handling

Introduction

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

What is python3-pychm

The python chm package provides three modules, chm, chmlib and extra, which provide access to the API implemented by the C library chmlib and some additional classes and functions. They are used to access MS-ITSS encoded files - Compressed Html Help files (.chm).

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

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

sudo dnf -y install python3-pychm

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

sudo yum -y install python3-pychm

How To Uninstall python3-pychm on Fedora 36

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

sudo dnf remove python3-pychm

python3-pychm Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/8d69bedd2518ac8fe114cde7dda21bf7d5bfbe
/usr/lib64/python3.10/site-packages/chm
/usr/lib64/python3.10/site-packages/chm/__init__.py
/usr/lib64/python3.10/site-packages/chm/__pycache__
/usr/lib64/python3.10/site-packages/chm/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/chm/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/chm/__pycache__/chm.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/chm/__pycache__/chm.cpython-310.pyc
/usr/lib64/python3.10/site-packages/chm/__pycache__/chmlib.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/chm/__pycache__/chmlib.cpython-310.pyc
/usr/lib64/python3.10/site-packages/chm/__pycache__/extra.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/chm/__pycache__/extra.cpython-310.pyc
/usr/lib64/python3.10/site-packages/chm/_chmlib.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/chm/chm.py
/usr/lib64/python3.10/site-packages/chm/chmlib.py
/usr/lib64/python3.10/site-packages/chm/extra.py
/usr/lib64/python3.10/site-packages/pychm-0.8.6-py3.10.egg-info
/usr/lib64/python3.10/site-packages/pychm-0.8.6-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/pychm-0.8.6-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/pychm-0.8.6-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/pychm-0.8.6-py3.10.egg-info/top_level.txt
/usr/share/doc/python3-pychm
/usr/share/doc/python3-pychm/NEWS
/usr/share/doc/python3-pychm/README
/usr/share/licenses/python3-pychm
/usr/share/licenses/python3-pychm/LICENSE

References

Summary

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