How To Install libclj-tuple-clojure on Ubuntu 18.04

In this tutorial we learn how to install libclj-tuple-clojure on Ubuntu 18.04. libclj-tuple-clojure is efficient implementations for small maps and vectors in Clojure

Introduction

In this tutorial we learn how to install libclj-tuple-clojure on Ubuntu 18.04.

What is libclj-tuple-clojure

libclj-tuple-clojure is:

clj-tuple provides efficient implementations for small maps and vectors in Clojure. The library is a drop-in replacement for Clojure’s builtin vector and hash-map types.

There are three methods to install libclj-tuple-clojure on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libclj-tuple-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 libclj-tuple-clojure using apt-get by running the following command:

sudo apt-get -y install libclj-tuple-clojure

Install libclj-tuple-clojure Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libclj-tuple-clojure

Install libclj-tuple-clojure 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libclj-tuple-clojure

How To Uninstall libclj-tuple-clojure on Ubuntu 18.04

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

sudo apt-get remove libclj-tuple-clojure

Uninstall libclj-tuple-clojure And Its Dependencies

To uninstall libclj-tuple-clojure and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libclj-tuple-clojure

Remove libclj-tuple-clojure Configurations and Data

To remove libclj-tuple-clojure configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libclj-tuple-clojure

Remove libclj-tuple-clojure configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libclj-tuple-clojure

References

Summary

In this tutorial we learn how to install libclj-tuple-clojure package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.