How To Install python-jsonhyperschema-codec on Debian 10

Learn how to install python-jsonhyperschema-codec on Debian 10 with this tutorial. python-jsonhyperschema-codec is Python2 JSON Hyper-Schema codec for Core API

Introduction

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

What is python-jsonhyperschema-codec

python-jsonhyperschema-codec is:

Core API is a format-independent Document Object Model for representing Web APIs.

It can be used to represent either Schema or Hypermedia responses, and allows one to interact with an API at the layer of an application interface, rather than a network interface.

Core API is developed in such a way that one can plug a codec to allow it to work with specific endpoints. This package provides a Python2 codec library that provides to Python’s Core API client some support for decoding and interacting with JSON HyperSchema endpoints.

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

sudo apt-get -y install python-jsonhyperschema-codec

Install python-jsonhyperschema-codec Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-jsonhyperschema-codec

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

sudo aptitude -y install python-jsonhyperschema-codec

How To Uninstall python-jsonhyperschema-codec on Debian 10

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

sudo apt-get remove python-jsonhyperschema-codec

Uninstall python-jsonhyperschema-codec And Its Dependencies

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

sudo apt-get -y autoremove python-jsonhyperschema-codec

Remove python-jsonhyperschema-codec Configurations and Data

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

sudo apt-get -y purge python-jsonhyperschema-codec

Remove python-jsonhyperschema-codec configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-jsonhyperschema-codec

Dependencies

python-jsonhyperschema-codec have the following dependencies:

References

Summary

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