How To Install java-gnome on Fedora 36

In this tutorial we learn how to install java-gnome in Fedora 36. java-gnome is Java GNOME bindings

Introduction

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

What is java-gnome

These are the Java bindings for GTK and GNOME! Featuring a robust engineering design, completely generated internals, a lovingly crafted layer presenting the public API, and steadily increasing coverage of the underlying libraries. You can use java-gnome to develop sophisticated user interfaces for Linux applications so that they richly integrate with the GNOME Desktop while leveraging the power of the Java language and your expertise with it.

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

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

sudo dnf -y install java-gnome

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

sudo yum -y install java-gnome

How To Uninstall java-gnome on Fedora 36

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

sudo dnf remove java-gnome

java-gnome Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/added9e735abcdcb78f5bd8bf7a31edac6e250
/usr/lib/java/gtk.jar
/usr/lib64/java-gnome
/usr/lib64/java-gnome/gtk.jar
/usr/lib64/java-gnome/libgtkjni-4.1.3.so
/usr/share/doc/java-gnome
/usr/share/doc/java-gnome/AUTHORS.markdown
/usr/share/doc/java-gnome/COPYING
/usr/share/doc/java-gnome/LICENCE.markdown
/usr/share/doc/java-gnome/NEWS.markdown
/usr/share/doc/java-gnome/README.markdown

References

Summary

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