How To Install python3-shortuuid on Fedora 36
Introduction
In this tutorial we learn how to install python3-shortuuid
on Fedora 36.
What is python3-shortuuid
shortuuid is a simple python library that generates concise, unambiguous, URL-safe UUIDs. Often, one needs to use non-sequential IDs in places where users will see them, but the IDs must be as concise and easy to use as possible. shortuuid solves this problem by generating uuids using Python’s built-in uuid module and then translating them to base57 using lowercase and uppercase letters and digits, and removing similar-looking characters such as l, 1, I, O and 0.
We can use yum
or dnf
to install python3-shortuuid
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-shortuuid.
Install python3-shortuuid 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-shortuuid
using dnf
by running the following command:
sudo dnf -y install python3-shortuuid
Install python3-shortuuid 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-shortuuid
using yum
by running the following command:
sudo yum -y install python3-shortuuid
How To Uninstall python3-shortuuid on Fedora 36
To uninstall only the python3-shortuuid
package we can use the following command:
sudo dnf remove python3-shortuuid
python3-shortuuid Package Contents on Fedora 36
/usr/bin/shortuuid
/usr/lib/python3.10/site-packages/shortuuid
/usr/lib/python3.10/site-packages/shortuuid-1.0.8.dist-info
/usr/lib/python3.10/site-packages/shortuuid-1.0.8.dist-info/COPYING
/usr/lib/python3.10/site-packages/shortuuid-1.0.8.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/shortuuid-1.0.8.dist-info/METADATA
/usr/lib/python3.10/site-packages/shortuuid-1.0.8.dist-info/WHEEL
/usr/lib/python3.10/site-packages/shortuuid-1.0.8.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/shortuuid-1.0.8.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/shortuuid/__init__.py
/usr/lib/python3.10/site-packages/shortuuid/__pycache__
/usr/lib/python3.10/site-packages/shortuuid/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/shortuuid/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/shortuuid/__pycache__/cli.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/shortuuid/__pycache__/cli.cpython-310.pyc
/usr/lib/python3.10/site-packages/shortuuid/__pycache__/django_fields.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/shortuuid/__pycache__/django_fields.cpython-310.pyc
/usr/lib/python3.10/site-packages/shortuuid/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/shortuuid/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/shortuuid/__pycache__/tests.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/shortuuid/__pycache__/tests.cpython-310.pyc
/usr/lib/python3.10/site-packages/shortuuid/cli.py
/usr/lib/python3.10/site-packages/shortuuid/django_fields.py
/usr/lib/python3.10/site-packages/shortuuid/main.py
/usr/lib/python3.10/site-packages/shortuuid/tests.py
/usr/share/doc/python3-shortuuid
/usr/share/doc/python3-shortuuid/README.md
/usr/share/licenses/python3-shortuuid
/usr/share/licenses/python3-shortuuid/COPYING
References
Summary
In this tutorial we learn how to install python3-shortuuid
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).