jabberd2-s2s command not found

In this troubleshooting guide we learn how to fix jabberd2-s2s command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

jabberd2-s2s: command not found

or when using sudo you get the following error message

sudo: jabberd2-s2s: command not found

Solutions to jabberd2-s2s: command not found

How To Fix jabberd2-s2s: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu jabberd2-s2s is provided by jabberd2 package.

jabberd2 is:

Jabber is a free instant messaging server based on XMPP.

This package contains Jabberd 2, the next generation of the Jabberd server. It has been rewritten from the ground up to be scalable, architecturally sound, and to support the latest protocol extensions coming out of the XSF.

To fix this problem, we can install more using the command below.

sudo apt-get -y install jabberd2

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install jabberd2.

sudo apt -y install jabberd2

Or if you have aptitude installed you can use the following command.

sudo aptitude install jabberd2

Summary

In this tutorial we learn how to fix jabberd2-s2s command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.