How To Install perl-utf8-all on AlmaLinux 8
Introduction
In this tutorial we learn how to install perl-utf8-all
on AlmaLinux 8.
What is perl-utf8-all
Pragma utf8 allows you to write your Perl encoded in UTF-8. That means UTF-8 strings, variable names, and regular expressions. utf8 makes @ARGV encoded in UTF-8, and file handles are opened with UTF-8 encoding turned on by default (including STDIN, STDOUT, STDERR), and character names are imported so \N{…} sequences can be used to compile Unicode characters based on names. If you don’t want UTF-8 for a particular file handle, you’ll have to set binmode $filehandle.
We can use yum
or dnf
to install perl-utf8-all
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-utf8-all.
Install perl-utf8-all on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-utf8-all
using dnf
by running the following command:
sudo dnf -y install perl-utf8-all
Install perl-utf8-all on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-utf8-all
using yum
by running the following command:
sudo yum -y install perl-utf8-all
How To Uninstall perl-utf8-all on AlmaLinux 8
To uninstall only the perl-utf8-all
package we can use the following command:
sudo dnf remove perl-utf8-all
References
Summary
In this tutorial we learn how to install perl-utf8-all
on AlmaLinux 8 using yum and dnf.