How To Install python-pyxmpp on Debian 10
Introduction
In this tutorial we learn how to install python-pyxmpp
on Debian 10.
What is python-pyxmpp
python-pyxmpp 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).
There are three methods to install python-pyxmpp
on Debian 10. 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 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
using apt-get
by running the following command:
sudo apt-get -y install python-pyxmpp
Install python-pyxmpp Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-pyxmpp
using apt
by running the following command:
sudo apt -y install python-pyxmpp
Install python-pyxmpp 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 python-pyxmpp
using aptitude
by running the following command:
sudo aptitude -y install python-pyxmpp
How To Uninstall python-pyxmpp on Debian 10
To uninstall only the python-pyxmpp
package we can use the following command:
sudo apt-get remove python-pyxmpp
Uninstall python-pyxmpp And Its Dependencies
To uninstall python-pyxmpp
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove python-pyxmpp
Remove python-pyxmpp Configurations and Data
To remove python-pyxmpp
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge python-pyxmpp
Remove python-pyxmpp configuration, data, and all of its dependencies
We can use the following command to remove python-pyxmpp
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-pyxmpp
Dependencies
python-pyxmpp have the following dependencies:
References
Summary
In this tutorial we learn how to install python-pyxmpp
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.