How To Install php-pragmarx-google2fa5 on Fedora 36
Introduction
In this tutorial we learn how to install php-pragmarx-google2fa5
on Fedora 36.
What is php-pragmarx-google2fa5
Google2FA is a PHP implementation of the Google Two-Factor Authentication Module, supporting the HMAC-Based One-time Password (HOTP) algorithm specified in RFC 4226 and the Time-based One-time Password (TOTP) algorithm specified in RFC 6238. Autoloader
We can use yum
or dnf
to install php-pragmarx-google2fa5
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-pragmarx-google2fa5.
Install php-pragmarx-google2fa5 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 php-pragmarx-google2fa5
using dnf
by running the following command:
sudo dnf -y install php-pragmarx-google2fa5
Install php-pragmarx-google2fa5 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 php-pragmarx-google2fa5
using yum
by running the following command:
sudo yum -y install php-pragmarx-google2fa5
How To Uninstall php-pragmarx-google2fa5 on Fedora 36
To uninstall only the php-pragmarx-google2fa5
package we can use the following command:
sudo dnf remove php-pragmarx-google2fa5
php-pragmarx-google2fa5 Package Contents on Fedora 36
/usr/share/doc/php-pragmarx-google2fa5
/usr/share/doc/php-pragmarx-google2fa5/README.md
/usr/share/doc/php-pragmarx-google2fa5/changelog.md
/usr/share/doc/php-pragmarx-google2fa5/composer.json
/usr/share/licenses/php-pragmarx-google2fa5
/usr/share/licenses/php-pragmarx-google2fa5/LICENSE.md
/usr/share/licenses/php-pragmarx-google2fa5/RELICENSED.md
/usr/share/php/PragmaRX
/usr/share/php/PragmaRX/Google2FA5
/usr/share/php/PragmaRX/Google2FA5/Exceptions
/usr/share/php/PragmaRX/Google2FA5/Exceptions/IncompatibleWithGoogleAuthenticatorException.php
/usr/share/php/PragmaRX/Google2FA5/Exceptions/InvalidCharactersException.php
/usr/share/php/PragmaRX/Google2FA5/Exceptions/SecretKeyTooShortException.php
/usr/share/php/PragmaRX/Google2FA5/Google2FA.php
/usr/share/php/PragmaRX/Google2FA5/Support
/usr/share/php/PragmaRX/Google2FA5/Support/Base32.php
/usr/share/php/PragmaRX/Google2FA5/Support/Constants.php
/usr/share/php/PragmaRX/Google2FA5/Support/QRCode.php
/usr/share/php/PragmaRX/Google2FA5/Support/Url.php
/usr/share/php/PragmaRX/Google2FA5/autoload.php
References
Summary
In this tutorial we learn how to install php-pragmarx-google2fa5
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).