How To Install python36-notify2 on CentOS 7
Introduction
In this tutorial we learn how to install python36-notify2
on CentOS 7.
What is python36-notify2
This is a pure-python replacement for notify-python, using python-dbus to communicate with the notifications server directly. It’s compatible with Python 2 and 3, and its callbacks can work with Gtk or Qt applications.
We can use yum
or dnf
to install python36-notify2
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python36-notify2.
Install python36-notify2 on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python36-notify2
using yum
by running the following command:
Install python36-notify2 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.
After updating yum database, We can install python36-notify2
using dnf
by running the following command:
How To Uninstall python36-notify2 on CentOS 7
To uninstall only the python36-notify2
package we can use the following command:
References
Summary
In this tutorial we learn how to install python36-notify2
on CentOS 7 using yum
and dnf
.