How To Install dancer2 on Fedora 36

In this tutorial we learn how to install dancer2 in Fedora 36. dancer2 is Dancer2 command line interface

Introduction

In this tutorial we learn how to install dancer2 on Fedora 36.

What is dancer2

Dancer2 is the new generation lightweight web-framework for Perl. This tool provides nice, easily-extendable CLI interface for it.

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

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

sudo dnf -y install dancer2

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

sudo yum -y install dancer2

How To Uninstall dancer2 on Fedora 36

To uninstall only the dancer2 package we can use the following command:

sudo dnf remove dancer2

dancer2 Package Contents on Fedora 36

/usr/bin/dancer2
/usr/share/licenses/dancer2
/usr/share/licenses/dancer2/LICENSE
/usr/share/man/man1/dancer2.1.gz

References

Summary

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