How To Install cl-launch on Kali Linux

In this tutorial we learn how to install cl-launch on Kali Linux. cl-launch is uniform frontend to running Common Lisp code from the shell

Introduction

In this tutorial we learn how to install cl-launch on Kali Linux.

What is cl-launch

cl-launch is:

CL-Launch will allow you to invoke Common Lisp source code from the shell command line, from a shell script or as a Common Lisp script. It will also allow you to turn your Common Lisp source programs into standalone executables or executable shell scripts (optionally using a dumped image), depending on the features available in your underlying implementation.

CL-Launch will automatically detect a supported Common Lisp implementation and use adequate invocation options. It can also be configured to fit exactly the programmer’s desires. Fully supported implementations are: Allegro, CLISP, ClozureCL, CMUCL, ECL, MKCL, SBCL, SCL. Partially supported implementations are: LispWorks Professional, ABCL, GCL, XCL. Creating standalone executables is supported on: CLISP, ClozureCL, CMUCL, LispWorks, SBCL, SCL

CL-Launch also offers Common Lisp programs a simple uniform interface to invocation parameters (command-line arguments and environment variables). It relies on ASDF 3 for system construction. See the ASDF 3 manual for more information on how to configure source and object code location. CL-Launch may dump memory images for fast startup (at the expense of disk space). It can also be used as a quick way to evaluate and print simple Lisp forms or scripts from the command-line without invoking a full-fledged REPL, and to easily compare results between implementations.

There are three methods to install cl-launch on Kali Linux. 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-launch 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-launch using apt-get by running the following command:

sudo apt-get -y install cl-launch

Install cl-launch Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cl-launch

Install cl-launch Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install cl-launch

How To Uninstall cl-launch on Kali Linux

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

sudo apt-get remove cl-launch

Uninstall cl-launch And Its Dependencies

To uninstall cl-launch and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove cl-launch

Remove cl-launch Configurations and Data

To remove cl-launch configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge cl-launch

Remove cl-launch configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cl-launch

Dependencies

cl-launch have the following dependencies:

References

Summary

In this tutorial we learn how to install cl-launch package on Kali Linux using different package management tools: apt, apt-get and aptitude.