How To Install znc-push on CentOS 8

znc-push is Push notification service module for ZNC

Introduction

In this tutorial we learn how to install znc-push on CentOS 8.

What is znc-push

ZNC Push is a module for ZNC that will send notifications to multiple push notification services, or SMS for any private message or channel highlight that matches a configurable set of conditions.

We can use yum or dnf to install znc-push on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install znc-push.

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

sudo dnf -y install znc-push

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

sudo yum -y install znc-push

How To Uninstall znc-push on CentOS 8

To uninstall only the znc-push package we can use the following command:

sudo dnf remove znc-push

znc-push Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/0e6789713f98679874583ba5a906c187ce6a21
/usr/lib64/znc/push.so
/usr/share/doc/znc-push
/usr/share/doc/znc-push/README.md
/usr/share/doc/znc-push/doc
/usr/share/doc/znc-push/doc/examples.md
/usr/share/doc/znc-push/doc/faq.md
/usr/share/doc/znc-push/doc/pushover.md
/usr/share/doc/znc-push/doc/pushover1.png
/usr/share/doc/znc-push/doc/pushover2.png
/usr/share/doc/znc-push/doc/telegram.md
/usr/share/doc/znc-push/logo.png
/usr/share/licenses/znc-push
/usr/share/licenses/znc-push/LICENSE

References

Summary

In this tutorial we learn how to install znc-push on CentOS 8 using yum and dnf.