How To Install totpcgi-provisioning on Fedora 36
Introduction
In this tutorial we learn how to install totpcgi-provisioning
on Fedora 36.
What is totpcgi-provisioning
This package provides the CGI for provisioning Google Authenticator tokens used by totpcgi.
We can use yum
or dnf
to install totpcgi-provisioning
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install totpcgi-provisioning.
Install totpcgi-provisioning 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 totpcgi-provisioning
using dnf
by running the following command:
sudo dnf -y install totpcgi-provisioning
Install totpcgi-provisioning 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 totpcgi-provisioning
using yum
by running the following command:
sudo yum -y install totpcgi-provisioning
How To Uninstall totpcgi-provisioning on Fedora 36
To uninstall only the totpcgi-provisioning
package we can use the following command:
sudo dnf remove totpcgi-provisioning
totpcgi-provisioning Package Contents on Fedora 36
/etc/httpd/conf.d/totpcgi-provisioning.conf
/etc/totpcgi/templates
/etc/totpcgi/templates/error.html
/etc/totpcgi/templates/login.html
/etc/totpcgi/templates/reissue.html
/etc/totpcgi/templates/totp.html
/var/www/totpcgi-provisioning
/var/www/totpcgi-provisioning/index.cgi
/var/www/totpcgi-provisioning/provisioning-print.css
/var/www/totpcgi-provisioning/provisioning.css
References
Summary
In this tutorial we learn how to install totpcgi-provisioning
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).