How To Install cypher-lint on Debian 9

In this tutorial we learn how to install cypher-lint on Debian 9. cypher-lint is Lint tool for the Cypher query language

Introduction

In this tutorial we learn how to install cypher-lint on Debian 9.

What is cypher-lint

cypher-lint is:

Cypher is a graph query language that allows for expressive and efficient querying of graph data.

This tool provides correctness checking of Cypher language input, and can be used to output the Abstract Syntax Tree (AST) of the parsed input.

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

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

sudo apt-get update

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

sudo apt-get -y install cypher-lint

Install cypher-lint Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cypher-lint

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

sudo aptitude -y install cypher-lint

How To Uninstall cypher-lint on Debian 9

To uninstall only the cypher-lint package we can use the following command:

sudo apt-get remove cypher-lint

Uninstall cypher-lint And Its Dependencies

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

sudo apt-get -y autoremove cypher-lint

Remove cypher-lint Configurations and Data

To remove cypher-lint configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge cypher-lint

Remove cypher-lint configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cypher-lint

Dependencies

cypher-lint have the following dependencies:

References

Summary

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