How To Install perl-B-COW on CentOS 7
Introduction
In this tutorial we learn how to install perl-B-COW
on CentOS 7.
What is perl-B-COW
B On Write (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 created.
We can use yum
or dnf
to install perl-B-COW
on CentOS 7. 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 CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install perl-B-COW
using yum
by running the following command:
Install perl-B-COW on CentOS 7 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.
After updating yum database, We can install perl-B-COW
using dnf
by running the following command:
How To Uninstall perl-B-COW on CentOS 7
To uninstall only the perl-B-COW
package we can use the following command:
References
Summary
In this tutorial we learn how to install perl-B-COW
on CentOS 7 using yum
and dnf
.