How To Install python3-yubikey-manager on Rocky Linux 8

In this tutorial we learn how to install python3-yubikey-manager on Rocky Linux 8. python3-yubikey-manager is Python library for configuring a YubiKey

Introduction

In this tutorial we learn how to install python3-yubikey-manager on Rocky Linux 8.

What is python3-yubikey-manager

Python library for configuring a YubiKey.

We can use yum or dnf to install python3-yubikey-manager on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-yubikey-manager.

Install python3-yubikey-manager on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-yubikey-manager using dnf by running the following command:

sudo dnf -y install python3-yubikey-manager

Install python3-yubikey-manager on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-yubikey-manager using yum by running the following command:

sudo yum -y install python3-yubikey-manager

How To Uninstall python3-yubikey-manager on Rocky Linux 8

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

sudo dnf remove python3-yubikey-manager

python3-yubikey-manager Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/ykman
/usr/lib/python3.6/site-packages/ykman/VERSION
/usr/lib/python3.6/site-packages/ykman/__init__.py
/usr/lib/python3.6/site-packages/ykman/__pycache__
/usr/lib/python3.6/site-packages/ykman/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/descriptor.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/descriptor.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/device.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/device.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/driver.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/driver.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/driver_ccid.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/driver_ccid.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/driver_fido.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/driver_fido.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/driver_otp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/driver_otp.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/fido.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/fido.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/logging_setup.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/logging_setup.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/oath.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/oath.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/opgp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/opgp.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/otp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/otp.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/piv.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/piv.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/settings.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/settings.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli
/usr/lib/python3.6/site-packages/ykman/cli/__init__.py
/usr/lib/python3.6/site-packages/ykman/cli/__main__.py
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/fido.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/fido.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/info.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/info.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/mode.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/mode.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/oath.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/oath.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/opgp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/opgp.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/otp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/otp.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/piv.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/piv.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/cli/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/cli/config.py
/usr/lib/python3.6/site-packages/ykman/cli/fido.py
/usr/lib/python3.6/site-packages/ykman/cli/info.py
/usr/lib/python3.6/site-packages/ykman/cli/mode.py
/usr/lib/python3.6/site-packages/ykman/cli/oath.py
/usr/lib/python3.6/site-packages/ykman/cli/opgp.py
/usr/lib/python3.6/site-packages/ykman/cli/otp.py
/usr/lib/python3.6/site-packages/ykman/cli/piv.py
/usr/lib/python3.6/site-packages/ykman/cli/util.py
/usr/lib/python3.6/site-packages/ykman/descriptor.py
/usr/lib/python3.6/site-packages/ykman/device.py
/usr/lib/python3.6/site-packages/ykman/driver.py
/usr/lib/python3.6/site-packages/ykman/driver_ccid.py
/usr/lib/python3.6/site-packages/ykman/driver_fido.py
/usr/lib/python3.6/site-packages/ykman/driver_otp.py
/usr/lib/python3.6/site-packages/ykman/fido.py
/usr/lib/python3.6/site-packages/ykman/logging_setup.py
/usr/lib/python3.6/site-packages/ykman/native
/usr/lib/python3.6/site-packages/ykman/native/__init__.py
/usr/lib/python3.6/site-packages/ykman/native/__pycache__
/usr/lib/python3.6/site-packages/ykman/native/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/native/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/native/__pycache__/libloader.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/native/__pycache__/libloader.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/native/__pycache__/pyusb.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/native/__pycache__/pyusb.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/native/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/native/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/native/__pycache__/ykpers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/native/__pycache__/ykpers.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/native/libloader.py
/usr/lib/python3.6/site-packages/ykman/native/pyusb.py
/usr/lib/python3.6/site-packages/ykman/native/util.py
/usr/lib/python3.6/site-packages/ykman/native/ykpers.py
/usr/lib/python3.6/site-packages/ykman/oath.py
/usr/lib/python3.6/site-packages/ykman/opgp.py
/usr/lib/python3.6/site-packages/ykman/otp.py
/usr/lib/python3.6/site-packages/ykman/piv.py
/usr/lib/python3.6/site-packages/ykman/scancodes
/usr/lib/python3.6/site-packages/ykman/scancodes/__init__.py
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/bepo.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/bepo.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/de.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/de.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/fr.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/fr.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/it.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/it.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/modhex.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/modhex.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/norman.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/norman.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/us.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/__pycache__/us.cpython-36.pyc
/usr/lib/python3.6/site-packages/ykman/scancodes/bepo.py
/usr/lib/python3.6/site-packages/ykman/scancodes/de.py
/usr/lib/python3.6/site-packages/ykman/scancodes/fr.py
/usr/lib/python3.6/site-packages/ykman/scancodes/it.py
/usr/lib/python3.6/site-packages/ykman/scancodes/modhex.py
/usr/lib/python3.6/site-packages/ykman/scancodes/norman.py
/usr/lib/python3.6/site-packages/ykman/scancodes/us.py
/usr/lib/python3.6/site-packages/ykman/settings.py
/usr/lib/python3.6/site-packages/ykman/util.py
/usr/lib/python3.6/site-packages/yubikey_manager-3.1.3-py3.6.egg-info
/usr/lib/python3.6/site-packages/yubikey_manager-3.1.3-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/yubikey_manager-3.1.3-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/yubikey_manager-3.1.3-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/yubikey_manager-3.1.3-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/yubikey_manager-3.1.3-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/yubikey_manager-3.1.3-py3.6.egg-info/top_level.txt
/usr/share/doc/python3-yubikey-manager
/usr/share/doc/python3-yubikey-manager/NEWS
/usr/share/licenses/python3-yubikey-manager
/usr/share/licenses/python3-yubikey-manager/COPYING

References

Summary

In this tutorial we learn how to install python3-yubikey-manager on Rocky Linux 8 using yum and dnf.