How To Install rubygem-bcrypt_pbkdf on Fedora 36

In this tutorial we learn how to install rubygem-bcrypt_pbkdf in Fedora 36. rubygem-bcrypt_pbkdf is OpenBSD’s bcrypt_pdkfd (a variant of PBKDF2 with bcrypt-based PRF)

Introduction

In this tutorial we learn how to install rubygem-bcrypt_pbkdf on Fedora 36.

What is rubygem-bcrypt_pbkdf

This gem implements bcrypt_pdkfd (a variant of PBKDF2 with bcrypt-based PRF).

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

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

sudo dnf -y install rubygem-bcrypt_pbkdf

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

sudo yum -y install rubygem-bcrypt_pbkdf

How To Uninstall rubygem-bcrypt_pbkdf on Fedora 36

To uninstall only the rubygem-bcrypt_pbkdf package we can use the following command:

sudo dnf remove rubygem-bcrypt_pbkdf

rubygem-bcrypt_pbkdf Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/6b1df7455a78466670b215056e1aede9a14a4a
/usr/lib64/gems/ruby/bcrypt_pbkdf-1.1.0
/usr/lib64/gems/ruby/bcrypt_pbkdf-1.1.0/bcrypt_pbkdf_ext.so
/usr/lib64/gems/ruby/bcrypt_pbkdf-1.1.0/gem.build_complete
/usr/share/gems/gems/bcrypt_pbkdf-1.1.0
/usr/share/gems/gems/bcrypt_pbkdf-1.1.0/COPYING
/usr/share/gems/gems/bcrypt_pbkdf-1.1.0/lib
/usr/share/gems/gems/bcrypt_pbkdf-1.1.0/lib/bcrypt_pbkdf.rb
/usr/share/gems/specifications/bcrypt_pbkdf-1.1.0.gemspec

References

Summary

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