How To Install perl-Term-Prompt on Fedora 36

In this tutorial we learn how to install perl-Term-Prompt in Fedora 36. perl-Term-Prompt is Perl extension for prompting a user for information

Introduction

In this tutorial we learn how to install perl-Term-Prompt on Fedora 36.

What is perl-Term-Prompt

This main function of this module is to accept interactive input. You specify the type of inputs allowed, a prompt, help text and defaults and it will deal with the user interface, (and the user!), by displaying the prompt, showing the default, and checking to be sure that the response is one of the legal choices. Additional ’types’ that could be added would be a phone type, a social security type, a generic numeric pattern type…

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

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

sudo dnf -y install perl-Term-Prompt

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

sudo yum -y install perl-Term-Prompt

How To Uninstall perl-Term-Prompt on Fedora 36

To uninstall only the perl-Term-Prompt package we can use the following command:

sudo dnf remove perl-Term-Prompt

perl-Term-Prompt Package Contents on Fedora 36

/usr/share/doc/perl-Term-Prompt
/usr/share/doc/perl-Term-Prompt/Changes
/usr/share/doc/perl-Term-Prompt/README
/usr/share/man/man3/Term::Prompt.3pm.gz
/usr/share/perl5/vendor_perl/Term
/usr/share/perl5/vendor_perl/Term/Prompt.pm

References

Summary

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