How To Install python-park on Debian 10

Learn how to install python-park on Debian 10 with this tutorial. python-park is persistent key-value API for Python with ordered traversal of keys

Introduction

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

What is python-park

python-park is:

Park is a persistent key-value API for Python with ordered traversal of keys. Both keys and values are binary safe. It’s similar in use to LevelDB, but has no dependencies outside the Python standard library. It is meant to be extremely easy to use and can scale to a few gigabytes of data.

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

sudo apt-get -y install python-park

Install python-park Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-park

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

sudo aptitude -y install python-park

How To Uninstall python-park on Debian 10

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

sudo apt-get remove python-park

Uninstall python-park And Its Dependencies

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

sudo apt-get -y autoremove python-park

Remove python-park Configurations and Data

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

sudo apt-get -y purge python-park

Remove python-park configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-park

Dependencies

python-park have the following dependencies:

References

Summary

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