How To Install python-pastedeploy-tpl on Ubuntu 18.04

In this tutorial we learn how to install python-pastedeploy-tpl on Ubuntu 18.04. python-pastedeploy-tpl is load, configure, and compose WSGI applications and servers - templates

Introduction

In this tutorial we learn how to install python-pastedeploy-tpl on Ubuntu 18.04.

What is python-pastedeploy-tpl

python-pastedeploy-tpl is:

Paste Deployment is a system for finding and configuring WSGI applications and servers. For WSGI application consumers it provides a single, simple function (loadapp) for loading a WSGI application from a configuration file or a Python Egg. For WSGI application providers it only asks for a single, simple entry point to your application, so that application users don’t need to be exposed to the implementation details of your application.

This package contains the Paste Deploy’s paster template.

There are three methods to install python-pastedeploy-tpl 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-pastedeploy-tpl 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-pastedeploy-tpl using apt-get by running the following command:

sudo apt-get -y install python-pastedeploy-tpl

Install python-pastedeploy-tpl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-pastedeploy-tpl

Install python-pastedeploy-tpl 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-pastedeploy-tpl using aptitude by running the following command:

sudo aptitude -y install python-pastedeploy-tpl

How To Uninstall python-pastedeploy-tpl on Ubuntu 18.04

To uninstall only the python-pastedeploy-tpl package we can use the following command:

sudo apt-get remove python-pastedeploy-tpl

Uninstall python-pastedeploy-tpl And Its Dependencies

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

sudo apt-get -y autoremove python-pastedeploy-tpl

Remove python-pastedeploy-tpl Configurations and Data

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

sudo apt-get -y purge python-pastedeploy-tpl

Remove python-pastedeploy-tpl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-pastedeploy-tpl

References

Summary

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