How To Install python3-sure on Fedora 36

In this tutorial we learn how to install python3-sure in Fedora 36. python3-sure is Idiomatic assertion toolkit with human-friendly failure messages

Introduction

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

What is python3-sure

An idiomatic testing library for python with powerful and flexible assertions created by Gabriel Falcão. Sure’s developer experience is inspired and modeled after RSpec Expectations and should.js.

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

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

sudo dnf -y install python3-sure

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

sudo yum -y install python3-sure

How To Uninstall python3-sure on Fedora 36

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

sudo dnf remove python3-sure

python3-sure Package Contents on Fedora 36

/usr/bin/sure
/usr/lib/python3.10/site-packages/sure
/usr/lib/python3.10/site-packages/sure-2.0.0.dist-info
/usr/lib/python3.10/site-packages/sure-2.0.0.dist-info/COPYING
/usr/lib/python3.10/site-packages/sure-2.0.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/sure-2.0.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/sure-2.0.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/sure-2.0.0.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/sure-2.0.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/sure/__init__.py
/usr/lib/python3.10/site-packages/sure/__pycache__
/usr/lib/python3.10/site-packages/sure/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/cli.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/cli.cpython-310.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/core.cpython-310.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/deprecated.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/deprecated.cpython-310.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/magic.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/magic.cpython-310.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/old.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/old.cpython-310.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/registry.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/registry.cpython-310.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/stubs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/stubs.cpython-310.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/terminal.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/terminal.cpython-310.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/sure/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/sure/cli.py
/usr/lib/python3.10/site-packages/sure/compat.py
/usr/lib/python3.10/site-packages/sure/core.py
/usr/lib/python3.10/site-packages/sure/deprecated.py
/usr/lib/python3.10/site-packages/sure/magic.py
/usr/lib/python3.10/site-packages/sure/old.py
/usr/lib/python3.10/site-packages/sure/registry.py
/usr/lib/python3.10/site-packages/sure/stubs.py
/usr/lib/python3.10/site-packages/sure/terminal.py
/usr/lib/python3.10/site-packages/sure/version.py
/usr/share/man/man1/sure.1.gz

References

Summary

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