How To Install swing-layout on Fedora 36

In this tutorial we learn how to install swing-layout in Fedora 36. swing-layout is Natural layout for Swing panels

Introduction

In this tutorial we learn how to install swing-layout on Fedora 36.

What is swing-layout

Extensions to Swing to create professional cross platform layout.

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

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

sudo dnf -y install swing-layout

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

sudo yum -y install swing-layout

How To Uninstall swing-layout on Fedora 36

To uninstall only the swing-layout package we can use the following command:

sudo dnf remove swing-layout

swing-layout Package Contents on Fedora 36

/usr/share/doc/swing-layout
/usr/share/doc/swing-layout/releaseNotes.txt
/usr/share/java/swing-layout
/usr/share/java/swing-layout/swing-layout.jar
/usr/share/licenses/swing-layout
/usr/share/licenses/swing-layout/COPYING
/usr/share/maven-metadata/swing-layout.xml
/usr/share/maven-poms/swing-layout
/usr/share/maven-poms/swing-layout/swing-layout.pom

References

Summary

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