How To Install ghc-language-java on Fedora 36

In this tutorial we learn how to install ghc-language-java in Fedora 36. ghc-language-java is Java source manipulation

Introduction

In this tutorial we learn how to install ghc-language-java on Fedora 36.

What is ghc-language-java

Manipulating Java source

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

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

sudo dnf -y install ghc-language-java

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

sudo yum -y install ghc-language-java

How To Uninstall ghc-language-java on Fedora 36

To uninstall only the ghc-language-java package we can use the following command:

sudo dnf remove ghc-language-java

ghc-language-java Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/ff9822827790c7201fab32e3d30c4bbe31f3e2
/usr/lib64/libHSlanguage-java-0.2.9-ERyeOzY3ScBCQfTkCD5i6w-ghc8.10.5.so
/usr/share/licenses/ghc-language-java
/usr/share/licenses/ghc-language-java/LICENSE

References

Summary

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