How To Install perl-Inline-Python on Fedora 36

In this tutorial we learn how to install perl-Inline-Python in Fedora 36. perl-Inline-Python is Write Perl subs and classes in Python

Introduction

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

What is perl-Inline-Python

The Inline “inline” in a Perl script or module. It sets up an in-process Python interpreter, runs your code, and then examines Python’s symbol table for things to bind to Perl. The process of interrogating the Python interpreter for global variables only occurs the first time you run your Python code. The name-space is cached, and subsequent calls use the cached version.

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

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

sudo dnf -y install perl-Inline-Python

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

sudo yum -y install perl-Inline-Python

How To Uninstall perl-Inline-Python on Fedora 36

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

sudo dnf remove perl-Inline-Python

perl-Inline-Python Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/eb6f081b38e474cd9d342f78b8fc339774e1ab
/usr/lib64/perl5/vendor_perl/Inline
/usr/lib64/perl5/vendor_perl/Inline/Python.pm
/usr/lib64/perl5/vendor_perl/Inline/Python.pod
/usr/lib64/perl5/vendor_perl/auto/Inline
/usr/lib64/perl5/vendor_perl/auto/Inline/Python
/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so
/usr/share/doc/perl-Inline-Python
/usr/share/doc/perl-Inline-Python/Changes
/usr/share/doc/perl-Inline-Python/README
/usr/share/doc/perl-Inline-Python/ToDo
/usr/share/man/man3/Inline::Python.3pm.gz

References

Summary

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