How To Install libnrepl-clojure on Kali Linux

In this tutorial we learn how to install libnrepl-clojure on Kali Linux. libnrepl-clojure is Clojure network REPL

Introduction

In this tutorial we learn how to install libnrepl-clojure on Kali Linux.

What is libnrepl-clojure

libnrepl-clojure is:

nrepl provides a REPL server and client, along with some common APIs of use to IDEs and other tools that may need to evaluate Clojure code in remote environments.

This project is intended to be a replacement for tools.nrepl, which is no longer maintained.

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

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

sudo apt-get update

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

sudo apt-get -y install libnrepl-clojure

Install libnrepl-clojure Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libnrepl-clojure

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

sudo aptitude -y install libnrepl-clojure

How To Uninstall libnrepl-clojure on Kali Linux

To uninstall only the libnrepl-clojure package we can use the following command:

sudo apt-get remove libnrepl-clojure

Uninstall libnrepl-clojure And Its Dependencies

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

sudo apt-get -y autoremove libnrepl-clojure

Remove libnrepl-clojure Configurations and Data

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

sudo apt-get -y purge libnrepl-clojure

Remove libnrepl-clojure configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libnrepl-clojure

Dependencies

libnrepl-clojure have the following dependencies:

References

Summary

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