How To Install perl-B-COW on AlmaLinux 8
Introduction
In this tutorial we learn how to install perl-B-COW
on AlmaLinux 8.
What is perl-B-COW
B (COW) status of one SvPV (a Perl string variable). A COWed SvPV is sharing its string (the PV) with other SvPVs. It’s a (kind of) Read Only C string, which would be Copied On Write (COW). More than one SV can share the same PV, but when one PV needs to alter it, it would perform a copy of it, decreasing the COWREFCNT counter. One SV can then drop the COW flag when it’s the only one holding a pointer to the PV. The COWREFCNT is stored at the end of the PV, after the null byte terminating the string. That value is limited to 255
We can use yum
or dnf
to install perl-B-COW
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-B-COW.
Install perl-B-COW 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-B-COW
using dnf
by running the following command:
sudo dnf -y install perl-B-COW
Install perl-B-COW 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-B-COW
using yum
by running the following command:
sudo yum -y install perl-B-COW
How To Uninstall perl-B-COW on AlmaLinux 8
To uninstall only the perl-B-COW
package we can use the following command:
sudo dnf remove perl-B-COW
References
Summary
In this tutorial we learn how to install perl-B-COW
on AlmaLinux 8 using yum and dnf.