How To Install python3-cwcwidth on Fedora 36

In this tutorial we learn how to install python3-cwcwidth in Fedora 36. python3-cwcwidth is Python bindings for wc(s)width

Introduction

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

What is python3-cwcwidth

Python bindings for wc(s)widthcwcwidth provides Python bindings for wcwidth and wcswidth functions defined in POSIX.1-2001 and POSIX.1-2008 based on Cython . These functions compute the printable length of a unicode character/string on a terminal.

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

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

sudo dnf -y install python3-cwcwidth

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

sudo yum -y install python3-cwcwidth

How To Uninstall python3-cwcwidth on Fedora 36

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

sudo dnf remove python3-cwcwidth

python3-cwcwidth Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/f2387f22c2241c85389d707c07cd5abc828330
/usr/lib64/python3.10/site-packages/cwcwidth
/usr/lib64/python3.10/site-packages/cwcwidth-0.1.4-py3.10.egg-info
/usr/lib64/python3.10/site-packages/cwcwidth-0.1.4-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/cwcwidth-0.1.4-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/cwcwidth-0.1.4-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/cwcwidth-0.1.4-py3.10.egg-info/not-zip-safe
/usr/lib64/python3.10/site-packages/cwcwidth-0.1.4-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/cwcwidth/__init__.py
/usr/lib64/python3.10/site-packages/cwcwidth/__pycache__
/usr/lib64/python3.10/site-packages/cwcwidth/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/cwcwidth/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/cwcwidth/_impl.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/cwcwidth/_impl.pyi
/usr/lib64/python3.10/site-packages/cwcwidth/py.typed
/usr/share/doc/python3-cwcwidth
/usr/share/doc/python3-cwcwidth/README.md
/usr/share/licenses/python3-cwcwidth
/usr/share/licenses/python3-cwcwidth/LICENSE

References

Summary

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