How To Install bcrypt on Fedora 34

bcrypt is File encryption utility

Introduction

In this tutorial we learn how to install bcrypt on Fedora 34.

What is bcrypt

Bcrypt is a cross platform file encryption utility. Encrypted files are portable across all supported operating systems and processors. Passphrases must be between 8 and 56 characters and are hashed internally to a 448 bit key. However, all characters supplied are significant. The stronger your passphrase, the more secure your data. In addition to encrypting your data, bcrypt will by default overwrite the original input file with random garbage three times before deleting it in order to thwart data recovery attempts by persons who may gain access to your computer. Bcrypt uses the blowfish encryption algorithm published by Bruce Schneier in 1993.

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

Install bcrypt on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install bcrypt using dnf by running the following command:

sudo dnf -y install bcrypt

Install bcrypt on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install bcrypt using yum by running the following command:

sudo yum -y install bcrypt

How To Uninstall bcrypt on Fedora 34

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

sudo dnf remove bcrypt

bcrypt Package Contents on Fedora 34

/usr/bin/bcrypt
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/67e6461b6b6ca45a41fef1fc9c1e8990efad05
/usr/share/doc/bcrypt
/usr/share/doc/bcrypt/README
/usr/share/licenses/bcrypt
/usr/share/licenses/bcrypt/LICENSE
/usr/share/man/man1/bcrypt.1.gz

References

Summary

In this tutorial we learn how to install bcrypt on Fedora 34 using yum and dnf.