How To Install python3-wcmatch on Fedora 36

In this tutorial we learn how to install python3-wcmatch in Fedora 36. python3-wcmatch is Wildcard/glob file name matcher

Introduction

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

What is python3-wcmatch

Wildcard Match provides an enhanced fnmatch, glob, and pathlib library in order to provide file matching and globbing that more closely follows the features found in Bash. In some ways these libraries are similar to Python’s builtin libraries as they provide a similar interface to match, filter, and glob the file system. But they also include a number of features found in Bash’s globbing such as backslash escaping, brace expansion, extended glob pattern groups, etc. They also add a number of new useful functions as well, such as globmatch which functions like fnmatch, but for paths.

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

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

sudo dnf -y install python3-wcmatch

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

sudo yum -y install python3-wcmatch

How To Uninstall python3-wcmatch on Fedora 36

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

sudo dnf remove python3-wcmatch

python3-wcmatch Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/wcmatch
/usr/lib/python3.10/site-packages/wcmatch-8.1.2-py3.10.egg-info
/usr/lib/python3.10/site-packages/wcmatch-8.1.2-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/wcmatch-8.1.2-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/wcmatch-8.1.2-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/wcmatch-8.1.2-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/wcmatch-8.1.2-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/wcmatch/__init__.py
/usr/lib/python3.10/site-packages/wcmatch/__meta__.py
/usr/lib/python3.10/site-packages/wcmatch/__pycache__
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/__meta__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/__meta__.cpython-310.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/_wcmatch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/_wcmatch.cpython-310.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/_wcparse.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/_wcparse.cpython-310.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/fnmatch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/fnmatch.cpython-310.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/glob.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/glob.cpython-310.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/pathlib.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/pathlib.cpython-310.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/posix.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/posix.cpython-310.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/wcmatch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/wcmatch/__pycache__/wcmatch.cpython-310.pyc
/usr/lib/python3.10/site-packages/wcmatch/_wcmatch.py
/usr/lib/python3.10/site-packages/wcmatch/_wcparse.py
/usr/lib/python3.10/site-packages/wcmatch/fnmatch.py
/usr/lib/python3.10/site-packages/wcmatch/glob.py
/usr/lib/python3.10/site-packages/wcmatch/pathlib.py
/usr/lib/python3.10/site-packages/wcmatch/posix.py
/usr/lib/python3.10/site-packages/wcmatch/util.py
/usr/lib/python3.10/site-packages/wcmatch/wcmatch.py
/usr/share/doc/python3-wcmatch
/usr/share/doc/python3-wcmatch/README.md
/usr/share/licenses/python3-wcmatch
/usr/share/licenses/python3-wcmatch/LICENSE.md

References

Summary

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