How To Install prosody-modules on Debian 9
Introduction
In this tutorial we learn how to install prosody-modules
on Debian 9.
What is prosody-modules
prosody-modules is:
This package contains extensions to the Prosody XMPP server. This is a selection of the community provided archive at http://hg.prosody.im/prosody-modules/
modules included:
- mod_auth_ha1: HA1 based authentication
- mod_auth_ldap2: LDAP authentication
- mod_auth_sql: SQL Database authentication module
- mod_blocking: XEP-0191: Blocking Command
- mod_block_strangers: block messages from jids not in roster
- mod_broadcast: broadcast a message to online users, like mod_announce
- mod_c2s_conn_throttle: c2s connections throttling module
- mod_carbons*: XEP-0280: Message Carbons
- mod_cloud_notify: XEP-0357: Push Notifications
- mod_csi/mod_filter_chatstates/mod_throttle_presence: XEP-0352: Client State Indication
- mod_firewall: block, bounce, drop, forward, copy, redirect stanzas
- mod_host_guard: granular remote host blacklisting plugin
- mod_http_upload: XEP-0363: upload files over HTTP for clients
- mod_invite: allows users with an account to generate single-use invite URLs using an ad-hoc command
- mod_ipcheck: XEP-0279: server IP check
- mod_lib_ldap: LDAP lib
- mod_log_auth: log failed authentication attempts with their IP address
- mod_mam*: XEP-0313: Message Archive Management
- mod_pastebin: redirect long messages to built-in pastebin
- mod_privilege: allows entity/component to have privileged access
- mod_register_json: token based JSON registration & verification servlet
- mod_register_redirect: XEP-077: IBR Registration Redirect
- mod_reload_modules: automatically reload modules with the config
- mod_require_otr: enforce a policy for OTR-encrypted messages
- mod_s2s_idle_timeout: close idle server-to-server connections
- mod_server_status/mod_stanza_counter: server status plugin
- mod_smacks: XEP-0198: Stream Management
- mod_storage_ldap: LDAP storage (read-only) for rosters and vCards.
- mod_support_contact: add a support contact to new registrations
- mod_vjud: XEP-0055: Jabber Search
- mod_webpresence: display your online status in web pages
There are three methods to install prosody-modules
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 prosody-modules Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install prosody-modules
using apt-get
by running the following command:
sudo apt-get -y install prosody-modules
Install prosody-modules Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install prosody-modules
using apt
by running the following command:
sudo apt -y install prosody-modules
Install prosody-modules 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 prosody-modules
using aptitude
by running the following command:
sudo aptitude -y install prosody-modules
How To Uninstall prosody-modules on Debian 9
To uninstall only the prosody-modules
package we can use the following command:
sudo apt-get remove prosody-modules
Uninstall prosody-modules And Its Dependencies
To uninstall prosody-modules
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove prosody-modules
Remove prosody-modules Configurations and Data
To remove prosody-modules
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge prosody-modules
Remove prosody-modules configuration, data, and all of its dependencies
We can use the following command to remove prosody-modules
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge prosody-modules
Dependencies
prosody-modules have the following dependencies:
References
Summary
In this tutorial we learn how to install prosody-modules
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.