How To Install perl-Color-ANSI-Util on Fedora 36
Introduction
In this tutorial we learn how to install perl-Color-ANSI-Util
on Fedora 36.
What is perl-Color-ANSI-Util
This module provides routines for dealing with ANSI colors. The two main functions are ansifg and ansibg. With those functions, you can specify colors in RGB and let it output the correct ANSI color escape code according to the color depth support of the terminal (whether 16-color, 256-color, or 24bit). There are other functions to convert RGB to ANSI in specific color depths, or reverse functions to convert from ANSI to RGB codes.
We can use yum
or dnf
to install perl-Color-ANSI-Util
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Color-ANSI-Util.
Install perl-Color-ANSI-Util 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-Color-ANSI-Util
using dnf
by running the following command:
sudo dnf -y install perl-Color-ANSI-Util
Install perl-Color-ANSI-Util 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-Color-ANSI-Util
using yum
by running the following command:
sudo yum -y install perl-Color-ANSI-Util
How To Uninstall perl-Color-ANSI-Util on Fedora 36
To uninstall only the perl-Color-ANSI-Util
package we can use the following command:
sudo dnf remove perl-Color-ANSI-Util
perl-Color-ANSI-Util Package Contents on Fedora 36
/usr/share/doc/perl-Color-ANSI-Util
/usr/share/doc/perl-Color-ANSI-Util/Changes
/usr/share/doc/perl-Color-ANSI-Util/README
/usr/share/licenses/perl-Color-ANSI-Util
/usr/share/licenses/perl-Color-ANSI-Util/LICENSE
/usr/share/man/man3/Color::ANSI::Util.3pm.gz
/usr/share/perl5/vendor_perl/Color
/usr/share/perl5/vendor_perl/Color/ANSI
/usr/share/perl5/vendor_perl/Color/ANSI/Util.pm
References
Summary
In this tutorial we learn how to install perl-Color-ANSI-Util
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).