How To Install pass-otp on Fedora 36

In this tutorial we learn how to install pass-otp in Fedora 36. pass-otp is A pass extension for managing one-time-password (OTP) tokens

Introduction

In this tutorial we learn how to install pass-otp on Fedora 36.

What is pass-otp

pass-otp extends the pass utility with the otp command for adding OTP secrets, generating OTP codes, and displaying secret key URIs using the standard otpauth

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

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

sudo dnf -y install pass-otp

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

sudo yum -y install pass-otp

How To Uninstall pass-otp on Fedora 36

To uninstall only the pass-otp package we can use the following command:

sudo dnf remove pass-otp

pass-otp Package Contents on Fedora 36

/etc/bash_completion.d/pass-otp
/usr/lib/password-store/extensions/otp.bash
/usr/share/doc/pass-otp
/usr/share/doc/pass-otp/CHANGELOG.md
/usr/share/doc/pass-otp/README.md
/usr/share/licenses/pass-otp
/usr/share/licenses/pass-otp/LICENSE
/usr/share/man/man1/pass-otp.1.gz

References

Summary

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