How To Install python-json-pointer on Debian 9

In this tutorial we learn how to install python-json-pointer on Debian 9. python-json-pointer is resolve JSON pointers - Python 2.7

Introduction

In this tutorial we learn how to install python-json-pointer on Debian 9.

What is python-json-pointer

python-json-pointer is:

Python-json-pointer is a small library to resolve JSON pointers according to the IETF draft specification. JSON Pointer defines a string syntax for identifying a specific value within a JavaScript Object Notation (JSON) document.

This package provides the module for Python 2.x.

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

sudo apt-get -y install python-json-pointer

Install python-json-pointer Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-json-pointer

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

sudo aptitude -y install python-json-pointer

How To Uninstall python-json-pointer on Debian 9

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

sudo apt-get remove python-json-pointer

Uninstall python-json-pointer And Its Dependencies

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

sudo apt-get -y autoremove python-json-pointer

Remove python-json-pointer Configurations and Data

To remove python-json-pointer configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-json-pointer

Remove python-json-pointer configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-json-pointer

Dependencies

python-json-pointer have the following dependencies:

References

Summary

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