How To Install prosody-modules on Debian 12

Learn how to install prosody-modules on Debian 12 with this tutorial. prosody-modules is Selection of community modules for Prosody

Introduction

In this tutorial we learn how to install prosody-modules on Debian 12.

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_adhoc_blacklist: XEP-0133: Service Administration blacklist editing
  • mod_atom: exposes users microblogging on HTTP
  • mod_auth_ccert: PKI-style client certificate authentication
  • mod_auth_cyrus: Cyrus SASL
  • mod_auth_dovecot: dovecot authentication
  • mod_auth_ha1: HA1 based authentication
  • mod_auth_ldap2: another take on LDAP authentication
  • mod_auth_oauthbearer: authentication module for SASL OAUTHBEARER mechanism
  • mod_auth_sql: SQL Database authentication module
  • mod_blocking: XEP-0191: Blocking Command
  • mod_block_strangers: block messages from jids not in roster
  • mod_bob: cache Bits of Binary on MUC services
  • mod_broadcast: broadcast a message to online users, like mod_announce
  • mod_c2s_conn_throttle: c2s connections throttling module
  • mod_carbons_adhoc: XEP-0280: adhoc command for Message Carbons
  • mod_carbons_copies: XEP-0280: Message Carbons, v0 style copy support
  • mod_client_certs: XEP-0257: Client Certificate Management for SASL EXTERNAL
  • mod_cloud_notify: XEP-0357: Push Notifications
  • mod_csi_battery_saver/mod_filter_chatstates/mod_throttle_presence: XEP-0352: Client State Indication
  • mod_default_bookmarks: default bookmarks for users
  • mod_delegation: XEP-0355: Namespace Delegation
  • mod_firewall: block, bounce, drop, forward, copy, redirect stanzas
  • mod_host_guard: granular remote host blacklisting plugin
  • mod_http_libjs: serve common Javascript libraries
  • mod_http_muc_log: web interface to stored chatroom logs
  • mod_http_pep_avatar: serves avatars from local users who have published XEP-0084: User Avatar via PEP.
  • mod_http_upload: XEP-0363: upload files over HTTP for clients
  • mod_http_upload_external: XEP-0363: upload files over HTTP for clients to an external web server
  • mod_invites_api: authenticated HTTP API to create invites
  • mod_invites_page: generate friendly web page for invitations
  • mod_invites_register_web: register accounts via the web using invite tokens
  • mod_ipcheck: XEP-0279: server IP check
  • mod_lastlog: stores the timestamp of when a user logs in
  • mod_lastlog2: records timestamps of various events
  • mod_lib_ldap: LDAP lib
  • mod_list_inactive: lists users, who haven’t used their account in a defined time-frame
  • mod_log_auth: log failed authentication attempts with their IP address
  • mod_mam_adhoc: XEP-0313: adhoc command for Message Archive Management
  • mod_measure_active_users: calculates the number of daily, weekly and monthly active users (DAU, WAU, MAU)
  • mod_migrate_http_upload: mod_http_upload to mod_http_file_share migrator
  • mod_muc_log: logs the conversation of chatrooms running on the server to Prosody??s data store
  • mod_muc_log_http: provides a built-in web interface to view chatroom logs stored by mod_muc_log
  • mod_muc_moderation: XEP-0425: Message Moderation
  • mod_muc_restrict_media: adds room configuration option to hide inline media and display links instead
  • mod_muc_rtbl: subscribes to a real-time blocklist using pubsub
  • mod_net_dovecotauth: server implementation of the Dovecot authentication protocol. It allows you to authenticate e.g. Postfix against your Prosody installation.
  • mod_onions: allow federation (s2s) to Tor hidden services
  • mod_pastebin: redirect long messages to built-in pastebin
  • mod_ping_muc: reacts to server-to-server connections closing
  • mod_privacy_lists: XEP-0016: privacy lists
  • mod_private_adhoc: retrieve private XML data via adhoc command
  • mod_privilege: XEP-0356: allows entity/component to have privileged access
  • mod_pubsub_feeds: fetch Atom and RSS feeds, push to pubsub subscribers
  • mod_pubsub_mqtt: lets MQTT clients connect to pubsub nodes
  • mod_pubsub_subscription: programmatically subscribe to updates from a pubsub node
  • mod_pubsub_text_interface: lets users manage subscriptions to pubsub nodes via simple chat messages
  • mod_register_apps: manage list of compatible client apps
  • mod_register_json: token based JSON registration & verification servlet
  • mod_register_redirect: XEP-077: IBR Registration Redirect
  • mod_register_web: web interface to register user accounts
  • 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_s2s_smacks_timeout: closes s2s connections when a connection is broken or the remote server is not responding
  • mod_sasl2/mod_sasl2_bind2/mod_sasl2_fast/mod_sasl2_sm: XEP-0388: Extensible SASL Profile
  • mod_sasl_oauthbearer: RFC-7628: SASL mechanism OAUTHBEARER
  • mod_seclabels: XEP-0258: Security Labels in XMPP
  • mod_server_status/mod_stanza_counter: server status plugin
  • mod_storage_ldap: LDAP storage (read-only) for rosters and vCards.
  • mod_support_contact: add a support contact to new registrations
  • mod_track_muc_joins: keep track of joined chat rooms
  • mod_turncredentials: XEP-0215: Implementation for time-limited TURN credentials
  • mod_unified_push: implements a Unified Push Provider that uses XMPP to talk to a Push Distributor
  • mod_vcard_muc: set vCard for MUC rooms, e.g. for MUC room avatars
  • mod_vjud: XEP-0055: Jabber Search
  • mod_watch_spam_reports: handles incoming XEP-0377: Spam Reporting
  • mod_webpresence: display your online status in web pages

There are three methods to install prosody-modules on Debian 12. 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 12

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 12, 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 12 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 12 using different package management tools: apt, apt-get and aptitude.