How To Install perl-YAML-LibYAML on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-YAML-LibYAML
on Rocky Linux 8.
What is perl-YAML-LibYAML
Kirill Siminov’s “libyaml” is arguably the best YAML implementation. The C library is written precisely to the YAML 1.1 specification. It was originally bound to Python and was later bound to Ruby.
We can use yum
or dnf
to install perl-YAML-LibYAML
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-YAML-LibYAML.
Install perl-YAML-LibYAML on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-YAML-LibYAML
using dnf
by running the following command:
sudo dnf -y install perl-YAML-LibYAML
Install perl-YAML-LibYAML on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-YAML-LibYAML
using yum
by running the following command:
sudo yum -y install perl-YAML-LibYAML
How To Uninstall perl-YAML-LibYAML on Rocky Linux 8
To uninstall only the perl-YAML-LibYAML
package we can use the following command:
sudo dnf remove perl-YAML-LibYAML
perl-YAML-LibYAML Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/73225702dddd9a4148e6840facb1278d1c433f
/usr/lib64/perl5/vendor_perl/YAML
/usr/lib64/perl5/vendor_perl/YAML/LibYAML.pm
/usr/lib64/perl5/vendor_perl/YAML/LibYAML.pod
/usr/lib64/perl5/vendor_perl/YAML/XS
/usr/lib64/perl5/vendor_perl/YAML/XS.pm
/usr/lib64/perl5/vendor_perl/YAML/XS.pod
/usr/lib64/perl5/vendor_perl/YAML/XS/LibYAML.pm
/usr/lib64/perl5/vendor_perl/auto/YAML
/usr/lib64/perl5/vendor_perl/auto/YAML/XS
/usr/lib64/perl5/vendor_perl/auto/YAML/XS/LibYAML
/usr/lib64/perl5/vendor_perl/auto/YAML/XS/LibYAML/LibYAML.so
/usr/share/doc/perl-YAML-LibYAML
/usr/share/doc/perl-YAML-LibYAML/CONTRIBUTING
/usr/share/doc/perl-YAML-LibYAML/Changes
/usr/share/doc/perl-YAML-LibYAML/README
/usr/share/licenses/perl-YAML-LibYAML
/usr/share/licenses/perl-YAML-LibYAML/LICENSE
/usr/share/man/man3/YAML::LibYAML.3pm.gz
/usr/share/man/man3/YAML::XS.3pm.gz
/usr/share/man/man3/YAML::XS::LibYAML.3pm.gz
References
Summary
In this tutorial we learn how to install perl-YAML-LibYAML
on Rocky Linux 8 using yum and dnf.