How To Install CFR on Fedora 36

In this tutorial we learn how to install CFR in Fedora 36. CFR is CFR - Another Java Decompiler

Introduction

In this tutorial we learn how to install CFR on Fedora 36.

What is CFR

CFR will decompile modern Java features - including much of Java 9, 12 & 14, but is written entirely in Java 6, so will work anywhere! It’ll even make a decent go of turning class files from other JVM languages back into java!

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

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

sudo dnf -y install CFR

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

sudo yum -y install CFR

How To Uninstall CFR on Fedora 36

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

sudo dnf remove CFR

CFR Package Contents on Fedora 36

/usr/bin/cfr
/usr/share/doc/CFR
/usr/share/doc/CFR/README.md
/usr/share/java/CFR
/usr/share/java/CFR/cfr.jar
/usr/share/licenses/CFR
/usr/share/licenses/CFR/LICENSE
/usr/share/maven-metadata/CFR.xml
/usr/share/maven-poms/CFR
/usr/share/maven-poms/CFR/cfr.pom

References

Summary

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