How To Install cl-s-sql on Debian 9

In this tutorial we learn how to install cl-s-sql on Debian 9. cl-s-sql is lispy syntax for SQL queries

Introduction

In this tutorial we learn how to install cl-s-sql on Debian 9.

What is cl-s-sql

cl-s-sql is:

S-SQL provides a lispy syntax for SQL queries, and knows how to convert various lisp types to their textual SQL representation. It takes care to do as much of the work as possible at compile-time, so that at runtime a string concatenation is all that is needed to produce the final SQL query.

There are three methods to install cl-s-sql 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 cl-s-sql Using apt-get

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

sudo apt-get update

After updating apt database, We can install cl-s-sql using apt-get by running the following command:

sudo apt-get -y install cl-s-sql

Install cl-s-sql Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cl-s-sql using apt by running the following command:

sudo apt -y install cl-s-sql

Install cl-s-sql 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 cl-s-sql using aptitude by running the following command:

sudo aptitude -y install cl-s-sql

How To Uninstall cl-s-sql on Debian 9

To uninstall only the cl-s-sql package we can use the following command:

sudo apt-get remove cl-s-sql

Uninstall cl-s-sql And Its Dependencies

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

sudo apt-get -y autoremove cl-s-sql

Remove cl-s-sql Configurations and Data

To remove cl-s-sql configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge cl-s-sql

Remove cl-s-sql configuration, data, and all of its dependencies

We can use the following command to remove cl-s-sql configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cl-s-sql

Dependencies

cl-s-sql have the following dependencies:

References

Summary

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