How To Install python-zope.publisher on Ubuntu 18.04
Introduction
In this tutorial we learn how to install python-zope.publisher
on Ubuntu 18.04.
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 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-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 Ubuntu. 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 Ubuntu 18.04
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 Ubuntu 18.04, 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 Ubuntu 18.04 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
References
Summary
In this tutorial we learn how to install python-zope.publisher
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.