How To Install xmppc on Debian 11

In this tutorial we learn how to install xmppc on Debian 11. xmppc is XMPP Command Line Client

Introduction

In this tutorial we learn how to install xmppc on Debian 11.

What is xmppc

xmppc is:

Command Line Client for XMPP

List of features:

  • Support Account configuration with and without pwd (ask user to enter pwd)
  • Request roster list
  • Show MAM - XEP-0313: Message Archive Management
  • Show Bookmarks - XEP-0048: Bookmarks
  • Request Service Discovery items and info - XEP-0030: Service Discovery
  • Display OMEMO device list and fingerprints (URI format)
  • Send chat message (unencrypted)
  • Send chat message signcrypted - XEP-0373: OpenPGP for XMPP
  • Send chat mesage pgp - XEP-0027
  • Monitor XMPP stanza

There are three methods to install xmppc on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install xmppc Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

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

sudo apt-get -y install xmppc

Install xmppc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xmppc using apt by running the following command:

sudo apt -y install xmppc

Install xmppc 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 xmppc using aptitude by running the following command:

sudo aptitude -y install xmppc

How To Uninstall xmppc on Debian 11

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

sudo apt-get remove xmppc

Uninstall xmppc And Its Dependencies

To uninstall xmppc and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove xmppc

Remove xmppc Configurations and Data

To remove xmppc configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge xmppc

Remove xmppc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xmppc

Dependencies

xmppc have the following dependencies:

References

Summary

In this tutorial we learn how to install xmppc package on Debian 11 using different package management tools: apt, apt-get and aptitude.