How To Install python-zc.buildout on Ubuntu 18.04

In this tutorial we learn how to install python-zc.buildout on Ubuntu 18.04. python-zc.buildout is system for managing development buildouts

Introduction

In this tutorial we learn how to install python-zc.buildout on Ubuntu 18.04.

What is python-zc.buildout

python-zc.buildout is:

The Buildout project provides support for creating applications, especially Python applications. It provides tools for assembling applications from multiple parts, Python or otherwise. An application may actually contain multiple programs, processes, and configuration settings.

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

sudo apt-get -y install python-zc.buildout

Install python-zc.buildout Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-zc.buildout using apt by running the following command:

sudo apt -y install python-zc.buildout

Install python-zc.buildout 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-zc.buildout using aptitude by running the following command:

sudo aptitude -y install python-zc.buildout

How To Uninstall python-zc.buildout on Ubuntu 18.04

To uninstall only the python-zc.buildout package we can use the following command:

sudo apt-get remove python-zc.buildout

Uninstall python-zc.buildout And Its Dependencies

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

sudo apt-get -y autoremove python-zc.buildout

Remove python-zc.buildout Configurations and Data

To remove python-zc.buildout configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-zc.buildout

Remove python-zc.buildout configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-zc.buildout

References

Summary

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