How To Install python-gamera on Debian 10

Learn how to install python-gamera on Debian 10 with this tutorial. python-gamera is framework for building document analysis applications

Introduction

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

What is python-gamera

python-gamera is:

The Gamera framework is a Python library for building custom applications for document analysis and recognition. Additionally, it allows for custom extensions.

Gamera can be used for a wide variety of tasks, from building complete image recognition systems down to implementing and evaluating particular algorithms for image processing or document layout analysis.

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

sudo apt-get -y install python-gamera

Install python-gamera Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-gamera

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

sudo aptitude -y install python-gamera

How To Uninstall python-gamera on Debian 10

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

sudo apt-get remove python-gamera

Uninstall python-gamera And Its Dependencies

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

sudo apt-get -y autoremove python-gamera

Remove python-gamera Configurations and Data

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

sudo apt-get -y purge python-gamera

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

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

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

Dependencies

python-gamera have the following dependencies:

References

Summary

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