How To Install libstockpile-clojure on Ubuntu 18.04

In this tutorial we learn how to install libstockpile-clojure on Ubuntu 18.04. libstockpile-clojure is Simple, durable Java queuing library

Introduction

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

What is libstockpile-clojure

libstockpile-clojure is:

A simple, durable Java queueing library. Stockpile supports the durable storage and retrieval of data. After storage, stockpile returns an “entry” that can be used to access the data later, and when no longer needed, the data can be atomically discarded.

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

sudo apt-get -y install libstockpile-clojure

Install libstockpile-clojure Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libstockpile-clojure

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

sudo aptitude -y install libstockpile-clojure

How To Uninstall libstockpile-clojure on Ubuntu 18.04

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

sudo apt-get remove libstockpile-clojure

Uninstall libstockpile-clojure And Its Dependencies

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

sudo apt-get -y autoremove libstockpile-clojure

Remove libstockpile-clojure Configurations and Data

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

sudo apt-get -y purge libstockpile-clojure

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

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

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

References

Summary

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