How To Install python3-keyring on Fedora 36

In this tutorial we learn how to install python3-keyring in Fedora 36. python3-keyring is Python 3 library to access the system keyring service

Introduction

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

What is python3-keyring

The Python keyring library provides an easy way to access the system keyring service from python. It can be used in any application that needs safe password storage. These recommended keyring backends are supported • macOS Keychain • Freedesktop Secret Service supports many DE including GNOME (requires secretstorage) • KDE4 & KDE5 KWallet (requires dbus) • Windows Credential Locker Other keyring implementations are available through third-party backends.

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

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

sudo dnf -y install python3-keyring

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

sudo yum -y install python3-keyring

How To Uninstall python3-keyring on Fedora 36

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

sudo dnf remove python3-keyring

python3-keyring Package Contents on Fedora 36

/usr/bin/keyring
/usr/bin/keyring-python3
/usr/lib/python3.10/site-packages/keyring
/usr/lib/python3.10/site-packages/keyring-23.5.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/keyring-23.5.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/keyring-23.5.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/keyring-23.5.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/keyring-23.5.0-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/keyring-23.5.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/keyring-23.5.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/keyring/__init__.py
/usr/lib/python3.10/site-packages/keyring/__main__.py
/usr/lib/python3.10/site-packages/keyring/__pycache__
/usr/lib/python3.10/site-packages/keyring/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/backend.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/backend.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/cli.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/cli.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/core.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/credentials.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/credentials.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/devpi_client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/devpi_client.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/errors.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/errors.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/http.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/__pycache__/http.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backend.py
/usr/lib/python3.10/site-packages/keyring/backends
/usr/lib/python3.10/site-packages/keyring/backends/OS_X.py
/usr/lib/python3.10/site-packages/keyring/backends/SecretService.py
/usr/lib/python3.10/site-packages/keyring/backends/Windows.py
/usr/lib/python3.10/site-packages/keyring/backends/__init__.py
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/OS_X.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/OS_X.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/SecretService.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/SecretService.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/Windows.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/Windows.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/chainer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/chainer.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/fail.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/fail.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/kwallet.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/kwallet.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/libsecret.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/libsecret.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/null.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/backends/__pycache__/null.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backends/chainer.py
/usr/lib/python3.10/site-packages/keyring/backends/fail.py
/usr/lib/python3.10/site-packages/keyring/backends/kwallet.py
/usr/lib/python3.10/site-packages/keyring/backends/libsecret.py
/usr/lib/python3.10/site-packages/keyring/backends/macOS
/usr/lib/python3.10/site-packages/keyring/backends/macOS/__init__.py
/usr/lib/python3.10/site-packages/keyring/backends/macOS/__pycache__
/usr/lib/python3.10/site-packages/keyring/backends/macOS/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/backends/macOS/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backends/macOS/__pycache__/api.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/backends/macOS/__pycache__/api.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/backends/macOS/api.py
/usr/lib/python3.10/site-packages/keyring/backends/null.py
/usr/lib/python3.10/site-packages/keyring/cli.py
/usr/lib/python3.10/site-packages/keyring/core.py
/usr/lib/python3.10/site-packages/keyring/credentials.py
/usr/lib/python3.10/site-packages/keyring/devpi_client.py
/usr/lib/python3.10/site-packages/keyring/errors.py
/usr/lib/python3.10/site-packages/keyring/http.py
/usr/lib/python3.10/site-packages/keyring/testing
/usr/lib/python3.10/site-packages/keyring/testing/__init__.py
/usr/lib/python3.10/site-packages/keyring/testing/__pycache__
/usr/lib/python3.10/site-packages/keyring/testing/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/testing/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/testing/__pycache__/backend.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/testing/__pycache__/backend.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/testing/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/testing/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/testing/backend.py
/usr/lib/python3.10/site-packages/keyring/testing/util.py
/usr/lib/python3.10/site-packages/keyring/util
/usr/lib/python3.10/site-packages/keyring/util/__init__.py
/usr/lib/python3.10/site-packages/keyring/util/__pycache__
/usr/lib/python3.10/site-packages/keyring/util/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/util/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/util/__pycache__/platform_.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/util/__pycache__/platform_.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/util/__pycache__/properties.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/keyring/util/__pycache__/properties.cpython-310.pyc
/usr/lib/python3.10/site-packages/keyring/util/platform_.py
/usr/lib/python3.10/site-packages/keyring/util/properties.py
/usr/share/doc/python3-keyring
/usr/share/doc/python3-keyring/CHANGES.rst
/usr/share/doc/python3-keyring/README.rst
/usr/share/licenses/python3-keyring
/usr/share/licenses/python3-keyring/LICENSE

References

Summary

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