How To Install perl-WWW-xkcd on Fedora 36

In this tutorial we learn how to install perl-WWW-xkcd in Fedora 36. perl-WWW-xkcd is Synchronous and asynchronous interfaces to xkcd comics

Introduction

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

What is perl-WWW-xkcd

This module allows you to access xkcd comics (http the official API in synchronous mode (what people are used to) or in asynchronous mode. The asynchronous mode requires you have AnyEvent and AnyEvent available. However, since it’s just supported and not necessary, it is not declared as a prerequisite.

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

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

sudo dnf -y install perl-WWW-xkcd

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

sudo yum -y install perl-WWW-xkcd

How To Uninstall perl-WWW-xkcd on Fedora 36

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

sudo dnf remove perl-WWW-xkcd

perl-WWW-xkcd Package Contents on Fedora 36

/usr/share/doc/perl-WWW-xkcd
/usr/share/doc/perl-WWW-xkcd/Changes
/usr/share/licenses/perl-WWW-xkcd
/usr/share/licenses/perl-WWW-xkcd/LICENSE
/usr/share/man/man3/WWW::xkcd.3pm.gz
/usr/share/perl5/vendor_perl/WWW
/usr/share/perl5/vendor_perl/WWW/xkcd.pm

References

Summary

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