How To Install python3-mwclient on Fedora 36

In this tutorial we learn how to install python3-mwclient in Fedora 36. python3-mwclient is Mwclient is a client to the MediaWiki API

Introduction

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

What is python3-mwclient

mwclient is a lightweight Python client library to the MediaWiki API which provides access to most API functionality. This is the Python 3 build of mwclient.

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

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

sudo dnf -y install python3-mwclient

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

sudo yum -y install python3-mwclient

How To Uninstall python3-mwclient on Fedora 36

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

sudo dnf remove python3-mwclient

python3-mwclient Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/mwclient
/usr/lib/python3.10/site-packages/mwclient-0.10.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/mwclient-0.10.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/mwclient-0.10.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/mwclient-0.10.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/mwclient-0.10.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/mwclient-0.10.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/mwclient-0.10.1-py3.10.egg-info/zip-safe
/usr/lib/python3.10/site-packages/mwclient/__init__.py
/usr/lib/python3.10/site-packages/mwclient/__pycache__
/usr/lib/python3.10/site-packages/mwclient/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/client.cpython-310.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/errors.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/errors.cpython-310.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/image.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/image.cpython-310.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/listing.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/listing.cpython-310.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/page.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/page.cpython-310.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/sleep.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/sleep.cpython-310.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/mwclient/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/mwclient/client.py
/usr/lib/python3.10/site-packages/mwclient/errors.py
/usr/lib/python3.10/site-packages/mwclient/image.py
/usr/lib/python3.10/site-packages/mwclient/listing.py
/usr/lib/python3.10/site-packages/mwclient/page.py
/usr/lib/python3.10/site-packages/mwclient/sleep.py
/usr/lib/python3.10/site-packages/mwclient/util.py
/usr/share/doc/python3-mwclient
/usr/share/doc/python3-mwclient/CHANGELOG.md
/usr/share/doc/python3-mwclient/README.md
/usr/share/licenses/python3-mwclient
/usr/share/licenses/python3-mwclient/LICENSE.md

References

Summary

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