How To Install python-zope.publisher on Debian 9
Introduction
In this tutorial we learn how to install python-zope.publisher
on Debian 9.
What is python-zope.publisher
python-zope.publisher is:
zope.publisher allows you to publish Python objects on the web. It has support for plain HTTP/WebDAV clients, web browsers as well as XML-RPC and FTP clients. Input and output streams are represented by request and response objects which allow for easy client interaction from Python. The behaviour of the publisher is geared towards WSGI compatibility.
There are three methods to install python-zope.publisher
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-zope.publisher 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-zope.publisher
using apt-get
by running the following command:
sudo apt-get -y install python-zope.publisher
Install python-zope.publisher Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-zope.publisher
using apt
by running the following command:
sudo apt -y install python-zope.publisher
Install python-zope.publisher 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-zope.publisher
using aptitude
by running the following command:
sudo aptitude -y install python-zope.publisher
How To Uninstall python-zope.publisher on Debian 9
To uninstall only the python-zope.publisher
package we can use the following command:
sudo apt-get remove python-zope.publisher
Uninstall python-zope.publisher And Its Dependencies
To uninstall python-zope.publisher
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python-zope.publisher
Remove python-zope.publisher Configurations and Data
To remove python-zope.publisher
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python-zope.publisher
Remove python-zope.publisher configuration, data, and all of its dependencies
We can use the following command to remove python-zope.publisher
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-zope.publisher
Dependencies
python-zope.publisher have the following dependencies:
- python-pkg-resources
- python-zope
- python-zope.browser
- python-zope.component
- python-zope.configuration
- python-zope.contenttype
- python-zope.event
- python-zope.exceptions
- python-zope.i18n
- python-zope.interface
- python-zope.location
- python-zope.proxy
- python-zope.security
- python2.7
- python
- python
References
Summary
In this tutorial we learn how to install python-zope.publisher
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.