How To Install python3-fixtures on Fedora 36

In this tutorial we learn how to install python3-fixtures in Fedora 36. python3-fixtures is Fixtures, reusable state for writing clean tests and more

Introduction

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

What is python3-fixtures

Fixtures defines a Python contract for reusable state / support logic, primarily for unit testing. Helper and adaption logic is included to make it easy to write your own fixtures using the fixtures contract. Glue code is provided that makes using fixtures that meet the Fixtures contract in unit test compatible test cases easy and straight forward.

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

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

sudo dnf -y install python3-fixtures

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

sudo yum -y install python3-fixtures

How To Uninstall python3-fixtures on Fedora 36

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

sudo dnf remove python3-fixtures

python3-fixtures Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/fixtures
/usr/lib/python3.10/site-packages/fixtures-3.0.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/fixtures-3.0.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/fixtures-3.0.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/fixtures-3.0.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/fixtures-3.0.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/fixtures-3.0.0-py3.10.egg-info/pbr.json
/usr/lib/python3.10/site-packages/fixtures-3.0.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/fixtures-3.0.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/fixtures/__init__.py
/usr/lib/python3.10/site-packages/fixtures/__pycache__
/usr/lib/python3.10/site-packages/fixtures/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/__pycache__/callmany.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/__pycache__/callmany.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/__pycache__/fixture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/__pycache__/fixture.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/__pycache__/testcase.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/__pycache__/testcase.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__init__.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/environ.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/environ.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/logger.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/logger.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/mockpatch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/mockpatch.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/monkeypatch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/monkeypatch.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/packagepath.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/packagepath.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/popen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/popen.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/pythonpackage.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/pythonpackage.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/pythonpath.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/pythonpath.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/streams.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/streams.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/tempdir.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/tempdir.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/temphomedir.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/temphomedir.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/timeout.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/timeout.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/warnings.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/__pycache__/warnings.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/_fixtures/environ.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/logger.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/mockpatch.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/monkeypatch.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/packagepath.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/popen.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/pythonpackage.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/pythonpath.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/streams.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/tempdir.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/temphomedir.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/timeout.py
/usr/lib/python3.10/site-packages/fixtures/_fixtures/warnings.py
/usr/lib/python3.10/site-packages/fixtures/callmany.py
/usr/lib/python3.10/site-packages/fixtures/fixture.py
/usr/lib/python3.10/site-packages/fixtures/testcase.py
/usr/lib/python3.10/site-packages/fixtures/tests
/usr/lib/python3.10/site-packages/fixtures/tests/__init__.py
/usr/lib/python3.10/site-packages/fixtures/tests/__pycache__
/usr/lib/python3.10/site-packages/fixtures/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/__pycache__/helpers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/__pycache__/helpers.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/__pycache__/test_callmany.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/__pycache__/test_callmany.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/__pycache__/test_fixture.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/__pycache__/test_fixture.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/__pycache__/test_testcase.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/__pycache__/test_testcase.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__init__.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_environ.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_environ.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_logger.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_logger.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_mockpatch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_mockpatch.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_monkeypatch.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_monkeypatch.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_packagepath.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_packagepath.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_popen.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_popen.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_pythonpackage.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_pythonpackage.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_pythonpath.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_pythonpath.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_streams.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_streams.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_tempdir.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_tempdir.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_temphomedir.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_temphomedir.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_timeout.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_timeout.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_warnings.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/__pycache__/test_warnings.cpython-310.pyc
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_environ.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_logger.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_mockpatch.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_monkeypatch.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_packagepath.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_popen.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_pythonpackage.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_pythonpath.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_streams.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_tempdir.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_temphomedir.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_timeout.py
/usr/lib/python3.10/site-packages/fixtures/tests/_fixtures/test_warnings.py
/usr/lib/python3.10/site-packages/fixtures/tests/helpers.py
/usr/lib/python3.10/site-packages/fixtures/tests/test_callmany.py
/usr/lib/python3.10/site-packages/fixtures/tests/test_fixture.py
/usr/lib/python3.10/site-packages/fixtures/tests/test_testcase.py
/usr/share/doc/python3-fixtures
/usr/share/doc/python3-fixtures/Apache-2.0
/usr/share/doc/python3-fixtures/BSD
/usr/share/doc/python3-fixtures/COPYING
/usr/share/doc/python3-fixtures/GOALS
/usr/share/doc/python3-fixtures/NEWS
/usr/share/doc/python3-fixtures/README

References

Summary

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