How To Install libtools-logging-clojure on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libtools-logging-clojure
on Ubuntu 20.04.
What is libtools-logging-clojure
libtools-logging-clojure is:
Logging macros for Clojure, which delegate to a specific logging implementation. At runtime a specific implementation is selected from, in order, slf4j, Apache commons-logging, log4j, and finally java.util.logging.
This was formerly clojure.contrib.logging before modular contrib projects.
There are three methods to install libtools-logging-clojure
on Ubuntu 20.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-logging-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-logging-clojure
using apt-get
by running the following command:
sudo apt-get -y install libtools-logging-clojure
Install libtools-logging-clojure Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libtools-logging-clojure
using apt
by running the following command:
sudo apt -y install libtools-logging-clojure
Install libtools-logging-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-logging-clojure
using aptitude
by running the following command:
sudo aptitude -y install libtools-logging-clojure
How To Uninstall libtools-logging-clojure on Ubuntu 20.04
To uninstall only the libtools-logging-clojure
package we can use the following command:
sudo apt-get remove libtools-logging-clojure
Uninstall libtools-logging-clojure And Its Dependencies
To uninstall libtools-logging-clojure
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libtools-logging-clojure
Remove libtools-logging-clojure Configurations and Data
To remove libtools-logging-clojure
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libtools-logging-clojure
Remove libtools-logging-clojure configuration, data, and all of its dependencies
We can use the following command to remove libtools-logging-clojure
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtools-logging-clojure
References
Summary
In this tutorial we learn how to install libtools-logging-clojure
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.