How to use rar2john on Fedora

Hello, I’m using Fedora 36 Beta and I need to use John the Ripper with the rar2john command, I installed it with sudo dnf install john but there was no rar2john command bundled with it. I know rar is closed source but is there a way to use rar2john on Fedora?

Yes it is possible ,but you need to download source file and compile it I use john-bleeding-jumbo.zip from https://github.com/openwall/john/archive/refs/heads/bleeding-jumbo.zip unzip it, open src directory /home/ledeni/Programs/john/ john-bleeding-jumbo/src/(my directory path) and run 1) ./configure 2)make -s clean && make -sj4 3) after that go to /home/ledeni/Programs/john/ john-bleeding-jumbo/run/ and run ./rar2john