How To Install perl-CommonMark on Fedora 36

In this tutorial we learn how to install perl-CommonMark in Fedora 36. perl-CommonMark is Interface to the CommonMark C library

Introduction

In this tutorial we learn how to install perl-CommonMark on Fedora 36.

What is perl-CommonMark

This module is a wrapper around the official CommonMark C library libcmark. It closely follows the original API.

We can use yum or dnf to install perl-CommonMark on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-CommonMark.

Install perl-CommonMark 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-CommonMark using dnf by running the following command:

sudo dnf -y install perl-CommonMark

Install perl-CommonMark 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-CommonMark using yum by running the following command:

sudo yum -y install perl-CommonMark

How To Uninstall perl-CommonMark on Fedora 36

To uninstall only the perl-CommonMark package we can use the following command:

sudo dnf remove perl-CommonMark

perl-CommonMark Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/ca2cda5cfead6686aea1ba6291f6c7f9b26e27
/usr/lib64/perl5/vendor_perl/CommonMark
/usr/lib64/perl5/vendor_perl/CommonMark.pm
/usr/lib64/perl5/vendor_perl/CommonMark.pod
/usr/lib64/perl5/vendor_perl/CommonMark/Iterator.pod
/usr/lib64/perl5/vendor_perl/CommonMark/Node.pod
/usr/lib64/perl5/vendor_perl/CommonMark/Parser.pod
/usr/lib64/perl5/vendor_perl/auto/CommonMark
/usr/lib64/perl5/vendor_perl/auto/CommonMark/CommonMark.so
/usr/share/doc/perl-CommonMark
/usr/share/doc/perl-CommonMark/Changes
/usr/share/licenses/perl-CommonMark
/usr/share/licenses/perl-CommonMark/LICENSE
/usr/share/man/man3/CommonMark.3pm.gz
/usr/share/man/man3/CommonMark::Iterator.3pm.gz
/usr/share/man/man3/CommonMark::Node.3pm.gz
/usr/share/man/man3/CommonMark::Parser.3pm.gz

References

Summary

In this tutorial we learn how to install perl-CommonMark on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).