How To Install libnotify.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libnotify.x86_64 in Amazon Linux 2. libnotify.x86_64 is Desktop notification library

Introduction

In this tutorial we learn how to install libnotify.x86_64 on Amazon Linux 2.

What is libnotify.x86_64

libnotify is a library for sending desktop notifications to a notification daemon, as defined in the freedesktop.org Desktop Notifications spec. These notifications can be used to inform the user about an event or display some form of information without getting in the user’s way.

We can use yum to install libnotify.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libnotify.x86_64.

Install libnotify.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libnotify.x86_64 using yum by running the following command:

sudo yum -y install libnotify.x86_64

How To Uninstall libnotify.x86_64 on Amazon Linux 2

To uninstall only the libnotify.x86_64 package we can use the following command:

sudo yum remove libnotify.x86_64

libnotify.x86_64 Package Contents on Amazon Linux 2

/usr/bin/notify-send
/usr/lib64/girepository-1.0/Notify-0.7.typelib
/usr/lib64/libnotify.so.4
/usr/lib64/libnotify.so.4.0.0
/usr/share/doc/libnotify-0.7.7
/usr/share/doc/libnotify-0.7.7/AUTHORS
/usr/share/doc/libnotify-0.7.7/NEWS
/usr/share/licenses/libnotify-0.7.7
/usr/share/licenses/libnotify-0.7.7/COPYING

References

Summary

In this tutorial we learn how to install libnotify.x86_64 on Amazon Linux 2 using yum.