How To Install ejabberd-mod-message-log on Debian 11
Introduction
In this tutorial we learn how to install ejabberd-mod-message-log
on Debian 11.
What is ejabberd-mod-message-log
ejabberd-mod-message-log is:
This module writes a line for each sent or received message to a log file. Each line mentions the sender’s JID and the recipient’s JID, and also the message type (e.g., “normal”, “chat”, or “groupchat”). Carbon copies are marked as such.
There are three methods to install ejabberd-mod-message-log
on Debian 11. 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-message-log 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-message-log
using apt-get
by running the following command:
sudo apt-get -y install ejabberd-mod-message-log
Install ejabberd-mod-message-log Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ejabberd-mod-message-log
using apt
by running the following command:
sudo apt -y install ejabberd-mod-message-log
Install ejabberd-mod-message-log 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-message-log
using aptitude
by running the following command:
sudo aptitude -y install ejabberd-mod-message-log
How To Uninstall ejabberd-mod-message-log on Debian 11
To uninstall only the ejabberd-mod-message-log
package we can use the following command:
sudo apt-get remove ejabberd-mod-message-log
Uninstall ejabberd-mod-message-log And Its Dependencies
To uninstall ejabberd-mod-message-log
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove ejabberd-mod-message-log
Remove ejabberd-mod-message-log Configurations and Data
To remove ejabberd-mod-message-log
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge ejabberd-mod-message-log
Remove ejabberd-mod-message-log configuration, data, and all of its dependencies
We can use the following command to remove ejabberd-mod-message-log
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ejabberd-mod-message-log
Dependencies
ejabberd-mod-message-log have the following dependencies:
References
Summary
In this tutorial we learn how to install ejabberd-mod-message-log
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.