How To Install totpcgi on Fedora 36

In this tutorial we learn how to install totpcgi in Fedora 36. totpcgi is A centralized totp solution based on google-authenticator

Introduction

In this tutorial we learn how to install totpcgi on Fedora 36.

What is totpcgi

A CGI/FCGI application to centralize google-authenticator deployments.

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

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

sudo dnf -y install totpcgi

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

sudo yum -y install totpcgi

How To Uninstall totpcgi on Fedora 36

To uninstall only the totpcgi package we can use the following command:

sudo dnf remove totpcgi

totpcgi Package Contents on Fedora 36

/etc/httpd/conf.d/totpcgi.conf
/etc/totpcgi/totpcgi.conf
/usr/share/doc/totpcgi
/usr/share/doc/totpcgi/INSTALL.rst
/usr/share/doc/totpcgi/README.rst
/usr/share/doc/totpcgi/contrib
/usr/share/doc/totpcgi/contrib/freeradius
/usr/share/doc/totpcgi/contrib/freeradius/RADIUS-usage.txt
/usr/share/doc/totpcgi/contrib/freeradius/totpcgi-handler.pl
/usr/share/doc/totpcgi/contrib/freeradius/totpcgi-handler.yaml
/usr/share/doc/totpcgi/contrib/gitolite
/usr/share/doc/totpcgi/contrib/gitolite/README.rst
/usr/share/doc/totpcgi/contrib/gitolite/command.py
/usr/share/doc/totpcgi/contrib/gitolite/vref.py
/usr/share/doc/totpcgi/contrib/mysql.sql
/usr/share/doc/totpcgi/contrib/pam_url.conf
/usr/share/doc/totpcgi/contrib/postgres.sql
/usr/share/doc/totpcgi/contrib/puppet
/usr/share/doc/totpcgi/contrib/puppet/quickstart.rst
/usr/share/doc/totpcgi/contrib/puppet/totpcgi
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/files
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/files/httpd-provisioning.conf
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/files/httpd-ssl.conf
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/files/provisioning.conf
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/files/sudo.pam
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/files/totpcgi.conf
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/manifests
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/manifests/client.pp
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/manifests/server.pp
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/templates
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/templates/httpd-totpcgi.conf.erb
/usr/share/doc/totpcgi/contrib/puppet/totpcgi/templates/pam_url.conf.erb
/usr/share/doc/totpcgi/contrib/sshd.pam
/usr/share/doc/totpcgi/contrib/sudo.pam
/usr/share/doc/totpcgi/contrib/totpprov.1
/usr/share/doc/totpcgi/contrib/totpprov.py
/usr/share/doc/totpcgi/contrib/totpprov.rst
/usr/share/doc/totpcgi/contrib/vhost-totpcgi-provisioning.conf
/usr/share/doc/totpcgi/contrib/vhost-totpcgi.conf
/usr/share/doc/totpcgi/totp.fcgi
/var/lib/totpcgi
/var/www/totpcgi
/var/www/totpcgi/index.cgi

References

Summary

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