How To Install python-schema-salad on Ubuntu 18.04
Introduction
In this tutorial we learn how to install python-schema-salad
on Ubuntu 18.04.
What is python-schema-salad
python-schema-salad is:
Salad is a schema language for describing JSON or YAML structured linked data documents. Salad is based originally on JSON-LD and the Apache Avro data serialization system.
Salad schema describes rules for preprocessing, structural validation, and link checking for documents described by a Salad schema. Salad features for rich data modeling such as inheritance, template specialization, object identifiers, object references, documentation generation, and transformation to RDF. Salad provides a bridge between document and record oriented data modeling and the Semantic Web.
There are three methods to install python-schema-salad
on Ubuntu 18.04. 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-schema-salad 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-schema-salad
using apt-get
by running the following command:
sudo apt-get -y install python-schema-salad
Install python-schema-salad Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-schema-salad
using apt
by running the following command:
sudo apt -y install python-schema-salad
Install python-schema-salad 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install python-schema-salad
using aptitude
by running the following command:
sudo aptitude -y install python-schema-salad
How To Uninstall python-schema-salad on Ubuntu 18.04
To uninstall only the python-schema-salad
package we can use the following command:
sudo apt-get remove python-schema-salad
Uninstall python-schema-salad And Its Dependencies
To uninstall python-schema-salad
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove python-schema-salad
Remove python-schema-salad Configurations and Data
To remove python-schema-salad
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge python-schema-salad
Remove python-schema-salad configuration, data, and all of its dependencies
We can use the following command to remove python-schema-salad
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-schema-salad
References
Summary
In this tutorial we learn how to install python-schema-salad
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.