How To Install perl-Path-Tiny on CentOS 8
Introduction
In this tutorial we learn how to install perl-Path-Tiny on CentOS 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 CentOS 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 CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install perl-Path-Tiny using yum by running the following command:
sudo yum -y install perl-Path-Tiny
Install perl-Path-Tiny on CentOS 8 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install perl-Path-Tiny using dnf by running the following command:
sudo dnf -y install perl-Path-Tiny
How To Uninstall perl-Path-Tiny on CentOS 8
To uninstall only the perl-Path-Tiny package we can use the following command:
sudo dnf remove perl-Path-Tiny
References
Summary
In this tutorial we learn how to install perl-Path-Tiny on CentOS 8 using yum and dnf.