How To Install libtools-reader-clojure on Ubuntu 18.04

In this tutorial we learn how to install libtools-reader-clojure on Ubuntu 18.04. libtools-reader-clojure is complete Clojure and EDN-only reader

Introduction

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

What is libtools-reader-clojure

libtools-reader-clojure is:

clojure.tools.reader offers all functionality of the reader from clojure-1.7.0, and more. Using reader types provided by this library, column info is available and both line and column metadata is attached to multiple datatypes.

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

sudo apt-get -y install libtools-reader-clojure

Install libtools-reader-clojure Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtools-reader-clojure

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

sudo aptitude -y install libtools-reader-clojure

How To Uninstall libtools-reader-clojure on Ubuntu 18.04

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

sudo apt-get remove libtools-reader-clojure

Uninstall libtools-reader-clojure And Its Dependencies

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

sudo apt-get -y autoremove libtools-reader-clojure

Remove libtools-reader-clojure Configurations and Data

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

sudo apt-get -y purge libtools-reader-clojure

Remove libtools-reader-clojure configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtools-reader-clojure

References

Summary

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