How To Install liblazymap-clojure on Ubuntu 18.04

In this tutorial we learn how to install liblazymap-clojure on Ubuntu 18.04. liblazymap-clojure is transparent wrapper around Clojures map types

Introduction

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

What is liblazymap-clojure

liblazymap-clojure is:

LazyMap is a transparent wrapper around the map types of Clojure. It works similar to lazy-seq for sequences: the value associated with a key via lazy-assoc is not evaluated until it is actually accessed. So if the value is dissoc’d before it is accessed the code necessary to generate the value is not executed at all.

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

sudo apt-get -y install liblazymap-clojure

Install liblazymap-clojure Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblazymap-clojure

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

sudo aptitude -y install liblazymap-clojure

How To Uninstall liblazymap-clojure on Ubuntu 18.04

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

sudo apt-get remove liblazymap-clojure

Uninstall liblazymap-clojure And Its Dependencies

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

sudo apt-get -y autoremove liblazymap-clojure

Remove liblazymap-clojure Configurations and Data

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

sudo apt-get -y purge liblazymap-clojure

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

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

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

References

Summary

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