How To Install perl-Path-Tiny on Rocky Linux 8

In this tutorial we learn how to install perl-Path-Tiny on Rocky Linux 8. perl-Path-Tiny is File path utility

Introduction

In this tutorial we learn how to install perl-Path-Tiny on Rocky Linux 8.

What is perl-Path-Tiny

This module attempts to provide a small, fast utility for working with file paths. It is friendlier to use than File functions from several other core file handling modules. It doesn’t attempt to be as full-featured as IO it try to work for anything except Unix-like and Win32 platforms. Even then, it might break if you try something particularly obscure or tortuous. All paths are forced to have Unix-style forward slashes. Stringifying the object gives you back the path (after some clean up). File input/output methods flock handles before reading or writing, as appropriate. The *_utf8 methods (slurp_utf8, lines_utf8, etc.) operate in raw mode without CRLF translation.

We can use yum or dnf to install perl-Path-Tiny on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Path-Tiny.

Install perl-Path-Tiny on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Path-Tiny using dnf by running the following command:

sudo dnf -y install perl-Path-Tiny

Install perl-Path-Tiny on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Path-Tiny using yum by running the following command:

sudo yum -y install perl-Path-Tiny

How To Uninstall perl-Path-Tiny on Rocky Linux 8

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

sudo dnf remove perl-Path-Tiny

perl-Path-Tiny Package Contents on Rocky Linux 8

/usr/share/doc/perl-Path-Tiny
/usr/share/doc/perl-Path-Tiny/CONTRIBUTING.mkdn
/usr/share/doc/perl-Path-Tiny/Changes
/usr/share/doc/perl-Path-Tiny/README
/usr/share/licenses/perl-Path-Tiny
/usr/share/licenses/perl-Path-Tiny/LICENSE
/usr/share/man/man3/Path::Tiny.3pm.gz
/usr/share/perl5/vendor_perl/Path
/usr/share/perl5/vendor_perl/Path/Tiny.pm

References

Summary

In this tutorial we learn how to install perl-Path-Tiny on Rocky Linux 8 using yum and dnf.