How To Install perl-interpreter on Fedora 36

In this tutorial we learn how to install perl-interpreter in Fedora 36. perl-interpreter is Standalone executable Perl interpreter

Introduction

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

What is perl-interpreter

This is a Perl interpreter as a standalone executable /usr/bin/perl required for handling Perl scripts. It does not provide all the other Perl modules or tools. Install this package if you want to program in Perl or enable your system to handle Perl scripts with /usr/bin/perl interpreter. If your script requires some Perl modules, you can install them with “perl(MODULE)” where “MODULE” is a name of required module. E.g. install “perl(Test If you need all the Perl modules that come with upstream Perl sources, so called core modules, install perl package. If you only need perl run-time as a shared library, i.e. Perl interpreter embedded into another application, the only essential package is perl-libs. Perl header files can be found in perl-devel package. Perl utils like “h2ph” or “perlbug” can be found in perl-utils package. Perl debugger, usually invoked with “perl -d”, is available in perl-debugger package.

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

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

sudo dnf -y install perl-interpreter

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

sudo yum -y install perl-interpreter

How To Uninstall perl-interpreter on Fedora 36

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

sudo dnf remove perl-interpreter

perl-interpreter Package Contents on Fedora 36

/usr/bin/perl
/usr/bin/perl5.34.1
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/3898e904796f2fd2d4c9e2b6a73fb2984abc6d
/usr/lib/.build-id/be/3898e904796f2fd2d4c9e2b6a73fb2984abc6d.1
/usr/share/man/man1/perl.1.gz
/usr/share/man/man1/perlrun.1.gz
/usr/share/perl5/pod
/usr/share/perl5/pod/perl.pod
/usr/share/perl5/pod/perlrun.pod

References

Summary

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