How To Install prosody on Rocky Linux 8

In this tutorial we learn how to install prosody on Rocky Linux 8. prosody is Flexible communications server for Jabber/XMPP

Introduction

In this tutorial we learn how to install prosody on Rocky Linux 8.

What is prosody

Prosody is a flexible communications server for Jabber/XMPP written in Lua. It aims to be easy to use, and light on resources. For developers it aims to be easy to extend and give a flexible system on which to rapidly develop added functionality, or prototype new protocols.

We can use yum or dnf to install prosody on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install prosody.

Install prosody on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install prosody using dnf by running the following command:

sudo dnf -y install prosody

Install prosody on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install prosody using yum by running the following command:

sudo yum -y install prosody

How To Uninstall prosody on Rocky Linux 8

To uninstall only the prosody package we can use the following command:

sudo dnf remove prosody

prosody Package Contents on Rocky Linux 8

/etc/logrotate.d/prosody
/etc/pki/prosody
/etc/pki/prosody/GNUmakefile
/etc/pki/prosody/localhost.cnf
/etc/pki/prosody/makefile
/etc/pki/prosody/openssl.cnf
/etc/prosody
/etc/prosody/certs
/etc/prosody/conf.d
/etc/prosody/conf.d/example.com.cfg.lua
/etc/prosody/conf.d/localhost.cfg.lua
/etc/prosody/migrator.cfg.lua
/etc/prosody/prosody.cfg.lua
/run/prosody
/usr/bin/ejabberd2prosody
/usr/bin/prosody
/usr/bin/prosody-migrator
/usr/bin/prosodyctl
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/a7f18aae719872b2ce989675456a063c53e58c
/usr/lib/.build-id/15
/usr/lib/.build-id/15/a48a490044256ed19bdd6a52f873e1d923bfe4
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/1fe6612a1ccb5f06a4b3721c89f85c5061e678
/usr/lib/.build-id/55
/usr/lib/.build-id/55/a8cfb113fe2f83832db6dbd8b56a039d683ed1
/usr/lib/.build-id/80
/usr/lib/.build-id/80/b094404559886f84b6a708ad4b4ac8fc1f184b
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/13a28afb80f67f8a409245b162102a0ea20041
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/1acc4e112edc2288305ffc6925342c437c865d
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/0851cc42ec2e0cb3841b9638979dcfc702b500
/usr/lib/.build-id/b4/986be74f17ffdc824cb484f66d98221c1fa852
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/7f4fcbbcd0059a109366a54eab4139561c57df
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/15276f9efe6347b9b2a84a38c51bf3b04bb45b
/usr/lib/systemd/system/prosody.service
/usr/lib/tmpfiles.d/prosody.conf
/usr/lib64/prosody
/usr/lib64/prosody/core
/usr/lib64/prosody/core/certmanager.lua
/usr/lib64/prosody/core/configmanager.lua
/usr/lib64/prosody/core/hostmanager.lua
/usr/lib64/prosody/core/loggingmanager.lua
/usr/lib64/prosody/core/moduleapi.lua
/usr/lib64/prosody/core/modulemanager.lua
/usr/lib64/prosody/core/portmanager.lua
/usr/lib64/prosody/core/rostermanager.lua
/usr/lib64/prosody/core/s2smanager.lua
/usr/lib64/prosody/core/sessionmanager.lua
/usr/lib64/prosody/core/stanza_router.lua
/usr/lib64/prosody/core/statsmanager.lua
/usr/lib64/prosody/core/storagemanager.lua
/usr/lib64/prosody/core/usermanager.lua
/usr/lib64/prosody/migrator
/usr/lib64/prosody/migrator/jabberd14.lua
/usr/lib64/prosody/migrator/mtools.lua
/usr/lib64/prosody/migrator/prosody_files.lua
/usr/lib64/prosody/migrator/prosody_sql.lua
/usr/lib64/prosody/modules
/usr/lib64/prosody/modules/adhoc
/usr/lib64/prosody/modules/adhoc/adhoc.lib.lua
/usr/lib64/prosody/modules/adhoc/mod_adhoc.lua
/usr/lib64/prosody/modules/mod_admin_adhoc.lua
/usr/lib64/prosody/modules/mod_admin_telnet.lua
/usr/lib64/prosody/modules/mod_announce.lua
/usr/lib64/prosody/modules/mod_auth_anonymous.lua
/usr/lib64/prosody/modules/mod_auth_cyrus.lua
/usr/lib64/prosody/modules/mod_auth_insecure.lua
/usr/lib64/prosody/modules/mod_auth_internal_hashed.lua
/usr/lib64/prosody/modules/mod_auth_internal_plain.lua
/usr/lib64/prosody/modules/mod_blocklist.lua
/usr/lib64/prosody/modules/mod_bosh.lua
/usr/lib64/prosody/modules/mod_c2s.lua
/usr/lib64/prosody/modules/mod_carbons.lua
/usr/lib64/prosody/modules/mod_component.lua
/usr/lib64/prosody/modules/mod_csi.lua
/usr/lib64/prosody/modules/mod_csi_simple.lua
/usr/lib64/prosody/modules/mod_debug_sql.lua
/usr/lib64/prosody/modules/mod_dialback.lua
/usr/lib64/prosody/modules/mod_disco.lua
/usr/lib64/prosody/modules/mod_groups.lua
/usr/lib64/prosody/modules/mod_http.lua
/usr/lib64/prosody/modules/mod_http_errors.lua
/usr/lib64/prosody/modules/mod_http_files.lua
/usr/lib64/prosody/modules/mod_iq.lua
/usr/lib64/prosody/modules/mod_lastactivity.lua
/usr/lib64/prosody/modules/mod_legacyauth.lua
/usr/lib64/prosody/modules/mod_limits.lua
/usr/lib64/prosody/modules/mod_mam
/usr/lib64/prosody/modules/mod_mam/mamprefs.lib.lua
/usr/lib64/prosody/modules/mod_mam/mamprefsxml.lib.lua
/usr/lib64/prosody/modules/mod_mam/mod_mam.lua
/usr/lib64/prosody/modules/mod_message.lua
/usr/lib64/prosody/modules/mod_motd.lua
/usr/lib64/prosody/modules/mod_muc_mam.lua
/usr/lib64/prosody/modules/mod_muc_unique.lua
/usr/lib64/prosody/modules/mod_net_multiplex.lua
/usr/lib64/prosody/modules/mod_offline.lua
/usr/lib64/prosody/modules/mod_pep.lua
/usr/lib64/prosody/modules/mod_pep_plus.lua
/usr/lib64/prosody/modules/mod_pep_simple.lua
/usr/lib64/prosody/modules/mod_ping.lua
/usr/lib64/prosody/modules/mod_posix.lua
/usr/lib64/prosody/modules/mod_presence.lua
/usr/lib64/prosody/modules/mod_private.lua
/usr/lib64/prosody/modules/mod_proxy65.lua
/usr/lib64/prosody/modules/mod_pubsub
/usr/lib64/prosody/modules/mod_pubsub/mod_pubsub.lua
/usr/lib64/prosody/modules/mod_pubsub/pubsub.lib.lua
/usr/lib64/prosody/modules/mod_register.lua
/usr/lib64/prosody/modules/mod_register_ibr.lua
/usr/lib64/prosody/modules/mod_register_limits.lua
/usr/lib64/prosody/modules/mod_roster.lua
/usr/lib64/prosody/modules/mod_s2s
/usr/lib64/prosody/modules/mod_s2s/mod_s2s.lua
/usr/lib64/prosody/modules/mod_s2s/s2sout.lib.lua
/usr/lib64/prosody/modules/mod_s2s_auth_certs.lua
/usr/lib64/prosody/modules/mod_saslauth.lua
/usr/lib64/prosody/modules/mod_scansion_record.lua
/usr/lib64/prosody/modules/mod_server_contact_info.lua
/usr/lib64/prosody/modules/mod_stanza_debug.lua
/usr/lib64/prosody/modules/mod_storage_internal.lua
/usr/lib64/prosody/modules/mod_storage_memory.lua
/usr/lib64/prosody/modules/mod_storage_none.lua
/usr/lib64/prosody/modules/mod_storage_sql.lua
/usr/lib64/prosody/modules/mod_storage_xep0227.lua
/usr/lib64/prosody/modules/mod_time.lua
/usr/lib64/prosody/modules/mod_tls.lua
/usr/lib64/prosody/modules/mod_unknown.lua
/usr/lib64/prosody/modules/mod_uptime.lua
/usr/lib64/prosody/modules/mod_user_account_management.lua
/usr/lib64/prosody/modules/mod_vcard.lua
/usr/lib64/prosody/modules/mod_vcard4.lua
/usr/lib64/prosody/modules/mod_vcard_legacy.lua
/usr/lib64/prosody/modules/mod_version.lua
/usr/lib64/prosody/modules/mod_watchregistrations.lua
/usr/lib64/prosody/modules/mod_websocket.lua
/usr/lib64/prosody/modules/mod_welcome.lua
/usr/lib64/prosody/modules/mod_windows.lua
/usr/lib64/prosody/modules/muc
/usr/lib64/prosody/modules/muc/config_form_sections.lib.lua
/usr/lib64/prosody/modules/muc/description.lib.lua
/usr/lib64/prosody/modules/muc/hidden.lib.lua
/usr/lib64/prosody/modules/muc/history.lib.lua
/usr/lib64/prosody/modules/muc/language.lib.lua
/usr/lib64/prosody/modules/muc/lock.lib.lua
/usr/lib64/prosody/modules/muc/members_only.lib.lua
/usr/lib64/prosody/modules/muc/mod_muc.lua
/usr/lib64/prosody/modules/muc/moderated.lib.lua
/usr/lib64/prosody/modules/muc/muc.lib.lua
/usr/lib64/prosody/modules/muc/name.lib.lua
/usr/lib64/prosody/modules/muc/occupant.lib.lua
/usr/lib64/prosody/modules/muc/password.lib.lua
/usr/lib64/prosody/modules/muc/persistent.lib.lua
/usr/lib64/prosody/modules/muc/register.lib.lua
/usr/lib64/prosody/modules/muc/request.lib.lua
/usr/lib64/prosody/modules/muc/subject.lib.lua
/usr/lib64/prosody/modules/muc/util.lib.lua
/usr/lib64/prosody/modules/muc/whois.lib.lua
/usr/lib64/prosody/net
/usr/lib64/prosody/net/adns.lua
/usr/lib64/prosody/net/connect.lua
/usr/lib64/prosody/net/connlisteners.lua
/usr/lib64/prosody/net/cqueues.lua
/usr/lib64/prosody/net/dns.lua
/usr/lib64/prosody/net/http
/usr/lib64/prosody/net/http.lua
/usr/lib64/prosody/net/http/codes.lua
/usr/lib64/prosody/net/http/parser.lua
/usr/lib64/prosody/net/http/server.lua
/usr/lib64/prosody/net/httpserver.lua
/usr/lib64/prosody/net/resolvers
/usr/lib64/prosody/net/resolvers/basic.lua
/usr/lib64/prosody/net/resolvers/manual.lua
/usr/lib64/prosody/net/resolvers/service.lua
/usr/lib64/prosody/net/server.lua
/usr/lib64/prosody/net/server_epoll.lua
/usr/lib64/prosody/net/server_event.lua
/usr/lib64/prosody/net/server_select.lua
/usr/lib64/prosody/net/websocket
/usr/lib64/prosody/net/websocket.lua
/usr/lib64/prosody/net/websocket/frames.lua
/usr/lib64/prosody/prosody.version
/usr/lib64/prosody/util
/usr/lib64/prosody/util/adhoc.lua
/usr/lib64/prosody/util/array.lua
/usr/lib64/prosody/util/async.lua
/usr/lib64/prosody/util/bit53.lua
/usr/lib64/prosody/util/bitcompat.lua
/usr/lib64/prosody/util/cache.lua
/usr/lib64/prosody/util/caps.lua
/usr/lib64/prosody/util/compat.so
/usr/lib64/prosody/util/dataforms.lua
/usr/lib64/prosody/util/datamanager.lua
/usr/lib64/prosody/util/datetime.lua
/usr/lib64/prosody/util/dbuffer.lua
/usr/lib64/prosody/util/debug.lua
/usr/lib64/prosody/util/dependencies.lua
/usr/lib64/prosody/util/encodings.so
/usr/lib64/prosody/util/envload.lua
/usr/lib64/prosody/util/erlparse.lua
/usr/lib64/prosody/util/events.lua
/usr/lib64/prosody/util/filters.lua
/usr/lib64/prosody/util/format.lua
/usr/lib64/prosody/util/gc.lua
/usr/lib64/prosody/util/hashes.so
/usr/lib64/prosody/util/helpers.lua
/usr/lib64/prosody/util/hex.lua
/usr/lib64/prosody/util/hmac.lua
/usr/lib64/prosody/util/http.lua
/usr/lib64/prosody/util/id.lua
/usr/lib64/prosody/util/import.lua
/usr/lib64/prosody/util/indexedbheap.lua
/usr/lib64/prosody/util/interpolation.lua
/usr/lib64/prosody/util/ip.lua
/usr/lib64/prosody/util/iterators.lua
/usr/lib64/prosody/util/jid.lua
/usr/lib64/prosody/util/json.lua
/usr/lib64/prosody/util/logger.lua
/usr/lib64/prosody/util/mercurial.lua
/usr/lib64/prosody/util/multitable.lua
/usr/lib64/prosody/util/net.so
/usr/lib64/prosody/util/openssl.lua
/usr/lib64/prosody/util/paths.lua
/usr/lib64/prosody/util/pluginloader.lua
/usr/lib64/prosody/util/poll.so
/usr/lib64/prosody/util/pposix.so
/usr/lib64/prosody/util/presence.lua
/usr/lib64/prosody/util/promise.lua
/usr/lib64/prosody/util/prosodyctl.lua
/usr/lib64/prosody/util/pubsub.lua
/usr/lib64/prosody/util/queue.lua
/usr/lib64/prosody/util/random.lua
/usr/lib64/prosody/util/rfc6724.lua
/usr/lib64/prosody/util/ringbuffer.so
/usr/lib64/prosody/util/rsm.lua
/usr/lib64/prosody/util/sasl
/usr/lib64/prosody/util/sasl.lua
/usr/lib64/prosody/util/sasl/anonymous.lua
/usr/lib64/prosody/util/sasl/digest-md5.lua
/usr/lib64/prosody/util/sasl/external.lua
/usr/lib64/prosody/util/sasl/plain.lua
/usr/lib64/prosody/util/sasl/scram.lua
/usr/lib64/prosody/util/sasl_cyrus.lua
/usr/lib64/prosody/util/serialization.lua
/usr/lib64/prosody/util/session.lua
/usr/lib64/prosody/util/set.lua
/usr/lib64/prosody/util/signal.so
/usr/lib64/prosody/util/sql.lua
/usr/lib64/prosody/util/sslconfig.lua
/usr/lib64/prosody/util/stanza.lua
/usr/lib64/prosody/util/startup.lua
/usr/lib64/prosody/util/statistics.lua
/usr/lib64/prosody/util/statsd.lua
/usr/lib64/prosody/util/strbitop.so
/usr/lib64/prosody/util/table.so
/usr/lib64/prosody/util/template.lua
/usr/lib64/prosody/util/termcolours.lua
/usr/lib64/prosody/util/throttle.lua
/usr/lib64/prosody/util/time.so
/usr/lib64/prosody/util/timer.lua
/usr/lib64/prosody/util/uuid.lua
/usr/lib64/prosody/util/vcard.lua
/usr/lib64/prosody/util/watchdog.lua
/usr/lib64/prosody/util/x509.lua
/usr/lib64/prosody/util/xml.lua
/usr/lib64/prosody/util/xmppstream.lua
/usr/lib64/prosody/util/xpcall.lua
/usr/share/doc/prosody
/usr/share/doc/prosody/AUTHORS
/usr/share/doc/prosody/CHANGES
/usr/share/doc/prosody/HACKERS
/usr/share/doc/prosody/README
/usr/share/doc/prosody/coding_style.txt
/usr/share/doc/prosody/names.txt
/usr/share/doc/prosody/net.server.lua
/usr/share/doc/prosody/roster_format.txt
/usr/share/doc/prosody/session.txt
/usr/share/doc/prosody/stanza.txt
/usr/share/doc/prosody/stanza_routing.txt
/usr/share/doc/prosody/storage.tld
/usr/share/licenses/prosody
/usr/share/licenses/prosody/COPYING
/usr/share/man/man1/prosodyctl.1.gz
/var/lib/prosody
/var/log/prosody

References

Summary

In this tutorial we learn how to install prosody on Rocky Linux 8 using yum and dnf.