How To Install ejabberd-mod-statsdx on Debian 9
Introduction
In this tutorial we learn how to install ejabberd-mod-statsdx
on Debian 9.
What is ejabberd-mod-statsdx
ejabberd-mod-statsdx is:
This module measures several statistics. It provides a new section in ejabberd Web Admin and two ejabberd commands to view the information. Simply activate the module in ejabberd.yml after installation, see the included README.txt for further information.
There are three methods to install ejabberd-mod-statsdx
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ejabberd-mod-statsdx Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ejabberd-mod-statsdx
using apt-get
by running the following command:
sudo apt-get -y install ejabberd-mod-statsdx
Install ejabberd-mod-statsdx Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ejabberd-mod-statsdx
using apt
by running the following command:
sudo apt -y install ejabberd-mod-statsdx
Install ejabberd-mod-statsdx Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ejabberd-mod-statsdx
using aptitude
by running the following command:
sudo aptitude -y install ejabberd-mod-statsdx
How To Uninstall ejabberd-mod-statsdx on Debian 9
To uninstall only the ejabberd-mod-statsdx
package we can use the following command:
sudo apt-get remove ejabberd-mod-statsdx
Uninstall ejabberd-mod-statsdx And Its Dependencies
To uninstall ejabberd-mod-statsdx
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove ejabberd-mod-statsdx
Remove ejabberd-mod-statsdx Configurations and Data
To remove ejabberd-mod-statsdx
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge ejabberd-mod-statsdx
Remove ejabberd-mod-statsdx configuration, data, and all of its dependencies
We can use the following command to remove ejabberd-mod-statsdx
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ejabberd-mod-statsdx
Dependencies
ejabberd-mod-statsdx have the following dependencies:
References
Summary
In this tutorial we learn how to install ejabberd-mod-statsdx
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.