How To Install libtools-analyzer-clojure on Ubuntu 18.04

In this tutorial we learn how to install libtools-analyzer-clojure on Ubuntu 18.04. libtools-analyzer-clojure is analyzer for host agnostic Clojure code

Introduction

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

What is libtools-analyzer-clojure

libtools-analyzer-clojure is:

An analyzer for host agnostic Clojure code, written in Clojure and producing AST in EDN. The analyzer in this library should not to be used directly as it lacks any knowledge about host-specific special forms and it should only be considered as a building platform for host-specific analyzers

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

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

Install libtools-analyzer-clojure Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtools-analyzer-clojure

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

sudo aptitude -y install libtools-analyzer-clojure

How To Uninstall libtools-analyzer-clojure on Ubuntu 18.04

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

sudo apt-get remove libtools-analyzer-clojure

Uninstall libtools-analyzer-clojure And Its Dependencies

To uninstall libtools-analyzer-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-analyzer-clojure

Remove libtools-analyzer-clojure Configurations and Data

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

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

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

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

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

References

Summary

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