How To Install perl-File-Inplace on Fedora 36

In this tutorial we learn how to install perl-File-Inplace in Fedora 36. perl-File-Inplace is Perl module for in-place editing of files

Introduction

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

What is perl-File-Inplace

File a file in-place. Inspired by variations of perl’s -i option, this module is intended for somewhat more structured and reusable editing than command line perl typically allows. File integrity; that is, either all of the changes made will be saved to the file, or none will. It also offers functionality such as backup creation, automatic field splitting per-line, automatic chomping/unchomping, and aborting edits partially through without affecting the original file.

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

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

sudo dnf -y install perl-File-Inplace

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

sudo yum -y install perl-File-Inplace

How To Uninstall perl-File-Inplace on Fedora 36

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

sudo dnf remove perl-File-Inplace

perl-File-Inplace Package Contents on Fedora 36

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

References

Summary

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