How To Install notify-sharp on CentOS 7

In this tutorial we learn how to install notify-sharp on CentOS 7. notify-sharp is A C# implementation for Desktop Notifications

Introduction

In this tutorial we learn how to install notify-sharp on CentOS 7.

What is notify-sharp

notify-sharp is a C# client implementation for Desktop Notifications, i.e. notification-daemon. It is inspired by the libnotify API. Desktop Notifications provide a standard way of doing passive pop-up notifications on the Linux desktop. These are designed to notify the user of something without interrupting their work with a dialog box that they must close. Passive popups can automatically disappear after a short period of time.

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

Install notify-sharp on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install notify-sharp using yum by running the following command:

sudo yum -y install notify-sharp

Install notify-sharp on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install notify-sharp using dnf by running the following command:

sudo dnf -y install notify-sharp

How To Uninstall notify-sharp on CentOS 7

To uninstall only the notify-sharp package we can use the following command:

sudo dnf remove notify-sharp

References

Summary

In this tutorial we learn how to install notify-sharp on CentOS 7 using yum and dnf.