How To Install ejabberd-mod-deny-omemo on Kali Linux
Introduction
In this tutorial we learn how to install ejabberd-mod-deny-omemo on Kali Linux.
What is ejabberd-mod-deny-omemo
ejabberd-mod-deny-omemo is:
Unless the configured access rule (called ‘omemo’ by default) returns ‘allow’, this module prevents OMEMO sessions from being established. Requests to query the devicelist from other users are rejected. Requests to publish a devicelist are also rejected, and all OMEMO nodes referenced in that devicelist are removed. Incoming devicelist updates are silently dropped. OMEMO-encrypted messages are bounced with an error message.
There are three methods to install ejabberd-mod-deny-omemo on Kali Linux. 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-deny-omemo Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ejabberd-mod-deny-omemo using apt-get by running the following command:
sudo apt-get -y install ejabberd-mod-deny-omemoInstall ejabberd-mod-deny-omemo Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ejabberd-mod-deny-omemo using apt by running the following command:
sudo apt -y install ejabberd-mod-deny-omemoInstall ejabberd-mod-deny-omemo Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install ejabberd-mod-deny-omemo using aptitude by running the following command:
sudo aptitude -y install ejabberd-mod-deny-omemoHow To Uninstall ejabberd-mod-deny-omemo on Kali Linux
To uninstall only the ejabberd-mod-deny-omemo package we can use the following command:
sudo apt-get remove ejabberd-mod-deny-omemoUninstall ejabberd-mod-deny-omemo And Its Dependencies
To uninstall ejabberd-mod-deny-omemo and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ejabberd-mod-deny-omemoRemove ejabberd-mod-deny-omemo Configurations and Data
To remove ejabberd-mod-deny-omemo configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ejabberd-mod-deny-omemoRemove ejabberd-mod-deny-omemo configuration, data, and all of its dependencies
We can use the following command to remove ejabberd-mod-deny-omemo configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ejabberd-mod-deny-omemoDependencies
ejabberd-mod-deny-omemo have the following dependencies:
References
Summary
In this tutorial we learn how to install ejabberd-mod-deny-omemo package on Kali Linux using different package management tools: apt, apt-get and aptitude.