How To Install perl-Inline on Fedora 36

In this tutorial we learn how to install perl-Inline in Fedora 36. perl-Inline is Inline Perl module

Introduction

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

What is perl-Inline

The Inline module allows you to put source code from other programming languages directly “inline” in a Perl script or module. The code is automatically compiled as needed, and then loaded for immediate access from Perl. Inline saves you from the hassle of having to write and compile your own glue code using facilities like XS or SWIG. Simply type the code where you want it and run your Perl as normal. All the hairy details are handled for you. The compilation and installation of your code chunks all happen transparently; all you will notice is the delay of compilation on the first run. The Inline code only gets compiled the first time you run it (or whenever it is modified) so you only take the performance hit once. Code that is Inlined into distributed modules (like on the CPAN) will get compiled when the module is installed, so the end user will never notice the compilation time.

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

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

sudo dnf -y install perl-Inline

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

sudo yum -y install perl-Inline

How To Uninstall perl-Inline on Fedora 36

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

sudo dnf remove perl-Inline

perl-Inline Package Contents on Fedora 36

/usr/share/doc/perl-Inline
/usr/share/doc/perl-Inline/CONTRIBUTING
/usr/share/doc/perl-Inline/Changes
/usr/share/doc/perl-Inline/README
/usr/share/doc/perl-Inline/example
/usr/share/doc/perl-Inline/example/modules
/usr/share/doc/perl-Inline/example/modules/Boo-2.01
/usr/share/doc/perl-Inline/example/modules/Boo-2.01/MANIFEST
/usr/share/doc/perl-Inline/example/modules/Boo-2.01/Makefile.PL
/usr/share/doc/perl-Inline/example/modules/Boo-2.01/lib
/usr/share/doc/perl-Inline/example/modules/Boo-2.01/lib/Boo
/usr/share/doc/perl-Inline/example/modules/Boo-2.01/lib/Boo.pm
/usr/share/doc/perl-Inline/example/modules/Boo-2.01/lib/Boo/Far
/usr/share/doc/perl-Inline/example/modules/Boo-2.01/lib/Boo/Far.pm
/usr/share/doc/perl-Inline/example/modules/Boo-2.01/lib/Boo/Far/Faz.pm
/usr/share/doc/perl-Inline/example/modules/Boo-2.01/t
/usr/share/doc/perl-Inline/example/modules/Boo-2.01/t/boo.t
/usr/share/doc/perl-Inline/example/modules/Math-Simple-1.23
/usr/share/doc/perl-Inline/example/modules/Math-Simple-1.23/Changes
/usr/share/doc/perl-Inline/example/modules/Math-Simple-1.23/MANIFEST
/usr/share/doc/perl-Inline/example/modules/Math-Simple-1.23/Makefile.PL
/usr/share/doc/perl-Inline/example/modules/Math-Simple-1.23/Simple.pm
/usr/share/doc/perl-Inline/example/modules/Math-Simple-1.23/test.pl
/usr/share/licenses/perl-Inline
/usr/share/licenses/perl-Inline/LICENSE
/usr/share/man/man3/Inline.3pm.gz
/usr/share/man/man3/Inline::API.3pm.gz
/usr/share/man/man3/Inline::FAQ.3pm.gz
/usr/share/man/man3/Inline::Support.3pm.gz
/usr/share/perl5/vendor_perl/Inline
/usr/share/perl5/vendor_perl/Inline.pm
/usr/share/perl5/vendor_perl/Inline.pod
/usr/share/perl5/vendor_perl/Inline/API.pod
/usr/share/perl5/vendor_perl/Inline/FAQ.pod
/usr/share/perl5/vendor_perl/Inline/Foo.pm
/usr/share/perl5/vendor_perl/Inline/MakeMaker
/usr/share/perl5/vendor_perl/Inline/MakeMaker.pm
/usr/share/perl5/vendor_perl/Inline/MakeMaker/Changes
/usr/share/perl5/vendor_perl/Inline/Support.pod
/usr/share/perl5/vendor_perl/Inline/denter.pm

References

Summary

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