How To Install perl-Getopt-GUI-Long on Fedora 36

In this tutorial we learn how to install perl-Getopt-GUI-Long in Fedora 36. perl-Getopt-GUI-Long is A wrapper around Getopt

Introduction

In this tutorial we learn how to install perl-Getopt-GUI-Long on Fedora 36.

What is perl-Getopt-GUI-Long

This module is a wrapper around Getopt the original Getopt 1) add a simple graphical user interface option screen if no arguments are passed to the program. Thus, the arguments to actually use are built based on the results of the user interface. If arguments were passed to the program, the user interface is not shown and the program executes as it normally would and acts just as if Getopt the QWizard and Gtk2 or Tk interfaces to be installed too. 2) provide an auto-help mechanism such that -h and –help are handled automatically. In fact, calling your program with -h will default to showing the user a list of short-style arguments when one exists for the option. Similarly –help will show the user a list of long-style when possible. –help-full will list all potential arguments for an option (short and long both). It’s designed to make the creation of graphical shells trivial without the programmer having to think about it much as well as providing automatic good-looking usage output without the programmer needing to write usage() functions.

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

Install perl-Getopt-GUI-Long 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 perl-Getopt-GUI-Long using dnf by running the following command:

sudo dnf -y install perl-Getopt-GUI-Long

Install perl-Getopt-GUI-Long 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 perl-Getopt-GUI-Long using yum by running the following command:

sudo yum -y install perl-Getopt-GUI-Long

How To Uninstall perl-Getopt-GUI-Long on Fedora 36

To uninstall only the perl-Getopt-GUI-Long package we can use the following command:

sudo dnf remove perl-Getopt-GUI-Long

perl-Getopt-GUI-Long Package Contents on Fedora 36

/usr/share/doc/perl-Getopt-GUI-Long
/usr/share/doc/perl-Getopt-GUI-Long/README
/usr/share/doc/perl-Getopt-GUI-Long/examples
/usr/share/doc/perl-Getopt-GUI-Long/examples/getopttest
/usr/share/man/man3/Getopt::GUI::Long.3pm.gz
/usr/share/perl5/vendor_perl/Getopt
/usr/share/perl5/vendor_perl/Getopt/GUI
/usr/share/perl5/vendor_perl/Getopt/GUI/Long.pm

References

Summary

In this tutorial we learn how to install perl-Getopt-GUI-Long on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).