How To Install python-zeep on Debian 9
Introduction
In this tutorial we learn how to install python-zeep
on Debian 9.
What is python-zeep
python-zeep is:
A fast and modern Python SOAP client
Highlights:
- Modern codebase compatible with Python 2.7, 3.3, 3.4, 3.5 and PyPy
- Build on top of lxml and requests
- Supports recursive WSDL and XSD documents.
- Supports the xsd:choice and xsd:any elements.
- Uses the defusedxml module for handling potential XML security issues
- Support for WSSE (UsernameToken only for now)
- Experimental support for HTTP bindings
- Experimental support for WS-Addressing headers
- Experimental support for asyncio via aiohttp (Python 3.5+)
Features still in development include:
- WSSE x.509 support (BinarySecurityToken)
- WS Policy support
Please see for more information the documentation at http://docs.python-zeep.org/
This package is targeting Python version 2.
There are three methods to install python-zeep
on Debian 9. 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-zeep 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-zeep
using apt-get
by running the following command:
sudo apt-get -y install python-zeep
Install python-zeep Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-zeep
using apt
by running the following command:
sudo apt -y install python-zeep
Install python-zeep 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-zeep
using aptitude
by running the following command:
sudo aptitude -y install python-zeep
How To Uninstall python-zeep on Debian 9
To uninstall only the python-zeep
package we can use the following command:
sudo apt-get remove python-zeep
Uninstall python-zeep And Its Dependencies
To uninstall python-zeep
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python-zeep
Remove python-zeep Configurations and Data
To remove python-zeep
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python-zeep
Remove python-zeep configuration, data, and all of its dependencies
We can use the following command to remove python-zeep
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-zeep
Dependencies
python-zeep have the following dependencies:
- python-appdirs
- python-cached-property
- python-defusedxml
- python-freezegun
- python-isodate
- python-lxml
- python-pkg-resources
- python-requests
- python-setuptools
- python-six
- python-tz
- python
References
Summary
In this tutorial we learn how to install python-zeep
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.