How To Install python3-totpcgi on Fedora 36
Introduction
In this tutorial we learn how to install python3-totpcgi
on Fedora 36.
What is python3-totpcgi
This package includes the Python libraries required for totpcgi and totpcgi-provisioning.
We can use yum
or dnf
to install python3-totpcgi
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-totpcgi.
Install python3-totpcgi 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-totpcgi
using dnf
by running the following command:
sudo dnf -y install python3-totpcgi
Install python3-totpcgi 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-totpcgi
using yum
by running the following command:
sudo yum -y install python3-totpcgi
How To Uninstall python3-totpcgi on Fedora 36
To uninstall only the python3-totpcgi
package we can use the following command:
sudo dnf remove python3-totpcgi
python3-totpcgi Package Contents on Fedora 36
/etc/totpcgi
/etc/totpcgi/provisioning.conf
/etc/totpcgi/totp
/usr/bin/totpprov
/usr/lib/python3.10/site-packages/totpcgi
/usr/lib/python3.10/site-packages/totpcgi-0.7.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/totpcgi/__init__.py
/usr/lib/python3.10/site-packages/totpcgi/__pycache__
/usr/lib/python3.10/site-packages/totpcgi/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/totpcgi/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/totpcgi/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/totpcgi/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/totpcgi/backends
/usr/lib/python3.10/site-packages/totpcgi/backends/__init__.py
/usr/lib/python3.10/site-packages/totpcgi/backends/__pycache__
/usr/lib/python3.10/site-packages/totpcgi/backends/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/totpcgi/backends/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/totpcgi/backends/__pycache__/file.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/totpcgi/backends/__pycache__/file.cpython-310.pyc
/usr/lib/python3.10/site-packages/totpcgi/backends/__pycache__/ldap.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/totpcgi/backends/__pycache__/ldap.cpython-310.pyc
/usr/lib/python3.10/site-packages/totpcgi/backends/__pycache__/mysql.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/totpcgi/backends/__pycache__/mysql.cpython-310.pyc
/usr/lib/python3.10/site-packages/totpcgi/backends/__pycache__/pgsql.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/totpcgi/backends/__pycache__/pgsql.cpython-310.pyc
/usr/lib/python3.10/site-packages/totpcgi/backends/file.py
/usr/lib/python3.10/site-packages/totpcgi/backends/ldap.py
/usr/lib/python3.10/site-packages/totpcgi/backends/mysql.py
/usr/lib/python3.10/site-packages/totpcgi/backends/pgsql.py
/usr/lib/python3.10/site-packages/totpcgi/utils.py
/usr/share/doc/python3-totpcgi
/usr/share/doc/python3-totpcgi/COPYING
/usr/share/man/man1/totpprov.1.gz
References
Summary
In this tutorial we learn how to install python3-totpcgi
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).