How To Install opensips-presence on CentOS 7

In this tutorial we learn how to install opensips-presence on CentOS 7. opensips-presence is Presence server

Introduction

In this tutorial we learn how to install opensips-presence on CentOS 7.

What is opensips-presence

This module implements a presence server. It handles PUBLISH and SUBSCRIBE messages and generates NOTIFY messages. It offers support for aggregation of published presence information for the same presentity using more devices. It can also filter the information provided to watchers according to privacy rules.

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

Install opensips-presence on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install opensips-presence

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

sudo dnf -y install opensips-presence

How To Uninstall opensips-presence on CentOS 7

To uninstall only the opensips-presence package we can use the following command:

sudo dnf remove opensips-presence

References

Summary

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