How To Install python-peak.util on Debian 10

Learn how to install python-peak.util on Debian 10 with this tutorial. python-peak.util is utilities from the Python Enterprise Application Kit

Introduction

In this tutorial we learn how to install python-peak.util on Debian 10.

What is python-peak.util

python-peak.util is:

The Python Enterprise Application Kit (PEAK) is a set of Python libraries to help develop large-scale Python applications.

PEAK includes libraries and frameworks to support: component integration, component configuration , document-driven testing, event-driven programming, storage management and persistence, domain modelling, and much more.

This package provides a subset of utilities related to PEAK, and commonly found as dependencies for PEAK-based components. In particular, this package provides:

  • AddOns - dynamic mixins with private attribute and methods
  • BytecodeAssembler - code object generation assembling bytecode
  • Extremes - absolute max and min values (PEP 326 implementation)
  • ProxyTypes - general purpose proxy and wrapper types
  • SymbolType - symbol type, i.e., enumerations

There are three methods to install python-peak.util on Debian 10. 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-peak.util 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-peak.util using apt-get by running the following command:

sudo apt-get -y install python-peak.util

Install python-peak.util Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-peak.util

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

sudo aptitude -y install python-peak.util

How To Uninstall python-peak.util on Debian 10

To uninstall only the python-peak.util package we can use the following command:

sudo apt-get remove python-peak.util

Uninstall python-peak.util And Its Dependencies

To uninstall python-peak.util and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove python-peak.util

Remove python-peak.util Configurations and Data

To remove python-peak.util configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge python-peak.util

Remove python-peak.util configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-peak.util

Dependencies

python-peak.util have the following dependencies:

References

Summary

In this tutorial we learn how to install python-peak.util package on Debian 10 using different package management tools: apt, apt-get and aptitude.