How To Install anope-mysql on CentOS 8
Introduction
In this tutorial we learn how to install anope-mysql
on CentOS 8.
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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install anope-mysql.
Install anope-mysql on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the anope-mysql
package we can use the following command:
sudo dnf remove anope-mysql
anope-mysql Package Contents on CentOS 8
/etc/anope/chanstats.conf
/etc/anope/irc2sql.conf
/usr/lib/.build-id
/usr/lib/.build-id/05/a31f74bcae2bb9cddfd7f49a490676854e1358
/usr/lib/.build-id/0a/2312dd2b11c25b025e98c2778b08be553625cb
/usr/lib/.build-id/16/3e9e5738c02084387ea5a9418c8ad28922464e
/usr/lib/.build-id/97/cab4fd8b153d1d551a7d33b50db2a39d26940d
/usr/lib/.build-id/c5/d5f0b899ceeba036f9f3b864a83ec65e9bfec9
/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 CentOS 8 using yum and dnf.