How To Install libstencil-clojure on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libstencil-clojure on Ubuntu 18.04.
What is libstencil-clojure
libstencil-clojure is:
Stencil is a Clojure implementation of Mustache, a template system. Mustache lacks of control flow statements such as if/else conditionals or for loops; it instead features section tag processing lists and lambdas. Mustache also enforces a strong separation of logic from presentation.
There are three methods to install libstencil-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 libstencil-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 libstencil-clojure using apt-get by running the following command:
sudo apt-get -y install libstencil-clojure
Install libstencil-clojure Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libstencil-clojure using apt by running the following command:
sudo apt -y install libstencil-clojure
Install libstencil-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 libstencil-clojure using aptitude by running the following command:
sudo aptitude -y install libstencil-clojure
How To Uninstall libstencil-clojure on Ubuntu 18.04
To uninstall only the libstencil-clojure package we can use the following command:
sudo apt-get remove libstencil-clojure
Uninstall libstencil-clojure And Its Dependencies
To uninstall libstencil-clojure and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libstencil-clojure
Remove libstencil-clojure Configurations and Data
To remove libstencil-clojure configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libstencil-clojure
Remove libstencil-clojure configuration, data, and all of its dependencies
We can use the following command to remove libstencil-clojure configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libstencil-clojure
References
Summary
In this tutorial we learn how to install libstencil-clojure package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.