How To Install john on Fedora 34

john is John the Ripper password cracker

Introduction

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

What is john

John the Ripper is a fast password cracker. Its primary purpose is to detect weak Unix passwords, but a number of other hash types are supported as well.

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

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

sudo dnf -y install john

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

sudo yum -y install john

How To Uninstall john on Fedora 34

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

sudo dnf remove john

john Package Contents on Fedora 34

/etc/john.conf
/usr/bin/john
/usr/bin/mailer
/usr/bin/unafs
/usr/bin/unique
/usr/bin/unshadow
/usr/lib/.build-id
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/17992e756233b3fcdadc56a67b7a23f76e0857
/usr/share/doc/john
/usr/share/doc/john/CHANGES
/usr/share/doc/john/CONFIG
/usr/share/doc/john/CONTACT
/usr/share/doc/john/COPYING
/usr/share/doc/john/CREDITS
/usr/share/doc/john/EXAMPLES
/usr/share/doc/john/EXTERNAL
/usr/share/doc/john/FAQ
/usr/share/doc/john/LICENSE
/usr/share/doc/john/MODES
/usr/share/doc/john/OPTIONS
/usr/share/doc/john/README
/usr/share/doc/john/RULES
/usr/share/john
/usr/share/john/alnum.chr
/usr/share/john/alpha.chr
/usr/share/john/ascii.chr
/usr/share/john/digits.chr
/usr/share/john/lm_ascii.chr
/usr/share/john/lower.chr
/usr/share/john/lowernum.chr
/usr/share/john/lowerspace.chr
/usr/share/john/password.lst
/usr/share/john/upper.chr
/usr/share/john/uppernum.chr

References

Summary

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