How To Install pypy-schema on Debian 10

Learn how to install pypy-schema on Debian 10 with this tutorial. pypy-schema is simple data validation library (PyPy)

Introduction

In this tutorial we learn how to install pypy-schema on Debian 10.

What is pypy-schema

pypy-schema is:

Schema is a library for validating Python data structures, such as those obtained from config-files, forms, external services or command-line parsing, converted from JSON/YAML (or something else) to Python data-types.

This package provides the modules for PyPy.

There are three methods to install pypy-schema 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 pypy-schema Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install pypy-schema using apt-get by running the following command:

sudo apt-get -y install pypy-schema

Install pypy-schema Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pypy-schema

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

sudo aptitude -y install pypy-schema

How To Uninstall pypy-schema on Debian 10

To uninstall only the pypy-schema package we can use the following command:

sudo apt-get remove pypy-schema

Uninstall pypy-schema And Its Dependencies

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

sudo apt-get -y autoremove pypy-schema

Remove pypy-schema Configurations and Data

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

sudo apt-get -y purge pypy-schema

Remove pypy-schema configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pypy-schema

Dependencies

pypy-schema have the following dependencies:

References

Summary

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