How To Install ejabberd-contrib on Kali Linux

In this tutorial we learn how to install ejabberd-contrib on Kali Linux. ejabberd-contrib is user-contributed modules for ejabberd (metapackage)

Introduction

In this tutorial we learn how to install ejabberd-contrib on Kali Linux.

What is ejabberd-contrib

ejabberd-contrib is:

This package depends on all available modules from ejabberd-contrib, but doesn’t do or add anything itself.

This is a pure metapackage.

There are three methods to install ejabberd-contrib 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-contrib 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-contrib using apt-get by running the following command:

sudo apt-get -y install ejabberd-contrib

Install ejabberd-contrib Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ejabberd-contrib using apt by running the following command:

sudo apt -y install ejabberd-contrib

Install ejabberd-contrib 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 update

After updating apt database, We can install ejabberd-contrib using aptitude by running the following command:

sudo aptitude -y install ejabberd-contrib

How To Uninstall ejabberd-contrib on Kali Linux

To uninstall only the ejabberd-contrib package we can use the following command:

sudo apt-get remove ejabberd-contrib

Uninstall ejabberd-contrib And Its Dependencies

To uninstall ejabberd-contrib and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove ejabberd-contrib

Remove ejabberd-contrib Configurations and Data

To remove ejabberd-contrib configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge ejabberd-contrib

Remove ejabberd-contrib configuration, data, and all of its dependencies

We can use the following command to remove ejabberd-contrib configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ejabberd-contrib

Dependencies

ejabberd-contrib have the following dependencies:

References

Summary

In this tutorial we learn how to install ejabberd-contrib package on Kali Linux using different package management tools: apt, apt-get and aptitude.