How To Install anope-mysql on Fedora 36

In this tutorial we learn how to install anope-mysql in Fedora 36. anope-mysql is MariaDB/MySQL modules for Anope IRC services

Introduction

In this tutorial we learn how to install anope-mysql on Fedora 36.

What is anope-mysql

Anope is a set of IRC services designed for flexibility and ease of use. This package provides Anope modules to store services data in a MariaDB or MySQL database and uses that for maintaining the IRC services. It provides further modules for IRC channel statistics or to log the IRC services’ logs into a MariaDB or MySQL database.

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

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

sudo dnf -y install anope-mysql

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

sudo yum -y install anope-mysql

How To Uninstall anope-mysql on Fedora 36

To uninstall only the anope-mysql package we can use the following command:

sudo dnf remove anope-mysql

anope-mysql Package Contents on Fedora 36

/etc/anope/chanstats.conf
/etc/anope/irc2sql.conf
/usr/lib/.build-id
/usr/lib/.build-id/0c/e1d5b0d58f158334b37592df1ee7d0f862e4de
/usr/lib/.build-id/62/3a70cba2cea16ce40719dc756d8282890d8f8b
/usr/lib/.build-id/8e/212256bb42ed7a65560805e9548cc931c84aa8
/usr/lib/.build-id/93/dda3b580214a2c62f8f2500ec7ce06cf3cf71a
/usr/lib/.build-id/f9/93bcdad1f0303ac1ac05a655d3917ce2d79d47
/usr/lib64/anope/modules/cs_fantasy_stats.so
/usr/lib64/anope/modules/cs_fantasy_top.so
/usr/lib64/anope/modules/irc2sql.so
/usr/lib64/anope/modules/m_chanstats.so
/usr/lib64/anope/modules/m_mysql.so

References

Summary

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