How To Install libcore-cache-clojure on Kali Linux

In this tutorial we learn how to install libcore-cache-clojure on Kali Linux. libcore-cache-clojure is cache abstraction library for Clojure

Introduction

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

What is libcore-cache-clojure

libcore-cache-clojure is:

core.cache is a Clojure library that provides implementations of basic caching strategies such as:

  • First-in-first-out (FIFOCache)
  • Least-recently-used (LRUCache)
  • Least-used (LUCache – sometimes called Least Frequently Used)
  • Time-to-live (TTLCache)
  • Na?ve cache (BasicCache)
  • Na?ve cache backed with soft references (SoftCache)
  • Low inter-reference recency set algorithm (LIRSCache)

All implementation use a common base abstraction (CacheProtocol) which, in combination with suitable macros, allows for the easy integration of user defined caching strategies that hook into the Clojure associative data capabilities.

There are three methods to install libcore-cache-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 libcore-cache-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 libcore-cache-clojure using apt-get by running the following command:

sudo apt-get -y install libcore-cache-clojure

Install libcore-cache-clojure Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcore-cache-clojure

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

sudo aptitude -y install libcore-cache-clojure

How To Uninstall libcore-cache-clojure on Kali Linux

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

sudo apt-get remove libcore-cache-clojure

Uninstall libcore-cache-clojure And Its Dependencies

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

sudo apt-get -y autoremove libcore-cache-clojure

Remove libcore-cache-clojure Configurations and Data

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

sudo apt-get -y purge libcore-cache-clojure

Remove libcore-cache-clojure configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcore-cache-clojure

Dependencies

libcore-cache-clojure have the following dependencies:

References

Summary

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