How To Install python-pyxmpp-doc on Ubuntu 18.04

In this tutorial we learn how to install python-pyxmpp-doc on Ubuntu 18.04. python-pyxmpp-doc is XMPP and Jabber implementation for Python (documentation)

Introduction

In this tutorial we learn how to install python-pyxmpp-doc on Ubuntu 18.04.

What is python-pyxmpp-doc

python-pyxmpp-doc is:

PyXMPP is a Python XMPP (RFC 3920,3921) and Jabber (http://www.jabber.org/protocol/) implementation. It is based on libxml2 – fast and fully-featured XML parser.

PyXMPP provides most core features of the XMPP protocol and several JSF-defined extensions. PyXMPP provides building blocks for creating Jabber clients and components. Developer uses them to setup XMPP streams, handle incoming events and create outgoing stanzas (XMPP “packets”).

Features:

  • nearly complete XMPP Core (RFC 3920) protocol for client connections (includes SASL, TLS and Stringprep)
  • mostly complete XMPP IM (RFC 3921) protocol (lacks privacy lists)
  • XMPP error objects including translations to and from legacy codes for backward compatibility (JEP-0086).
  • legacy authentication (“digest” and “plain”) (JEP-0078).
  • component protocol (JEP-0114).
  • Service Discovery (JEP-0030).
  • vCards – both Jabber “vcard-temp” and RFC 2426
  • basic parts of the Multi-User Chat protocol (JEP-0045)
  • delayed delivery timestamps (JEP-0091).

This package contains the API documentation of PyXMPP.

There are three methods to install python-pyxmpp-doc on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-pyxmpp-doc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python-pyxmpp-doc

Install python-pyxmpp-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-pyxmpp-doc using apt by running the following command:

sudo apt -y install python-pyxmpp-doc

Install python-pyxmpp-doc 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-pyxmpp-doc using aptitude by running the following command:

sudo aptitude -y install python-pyxmpp-doc

How To Uninstall python-pyxmpp-doc on Ubuntu 18.04

To uninstall only the python-pyxmpp-doc package we can use the following command:

sudo apt-get remove python-pyxmpp-doc

Uninstall python-pyxmpp-doc And Its Dependencies

To uninstall python-pyxmpp-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove python-pyxmpp-doc

Remove python-pyxmpp-doc Configurations and Data

To remove python-pyxmpp-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-pyxmpp-doc

Remove python-pyxmpp-doc configuration, data, and all of its dependencies

We can use the following command to remove python-pyxmpp-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-pyxmpp-doc

References

Summary

In this tutorial we learn how to install python-pyxmpp-doc package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.