How To Install libpathetic-clojure on Ubuntu 22.04

In this tutorial we learn how to install libpathetic-clojure on Ubuntu 22.04. libpathetic-clojure is Simple unix-style path manipulation

Introduction

In this tutorial we learn how to install libpathetic-clojure on Ubuntu 22.04.

What is libpathetic-clojure

libpathetic-clojure is:

pathetic provides a small number of functions meant to ease the manipulation of file paths. For example, it provides functions to normalize (remove superfluous or roundabout path components, like “.” and “..”), relativize (transform one path to be relative to another), and resolve (add path components to an existing path) paths.

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

sudo apt-get -y install libpathetic-clojure

Install libpathetic-clojure Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpathetic-clojure

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

sudo aptitude -y install libpathetic-clojure

How To Uninstall libpathetic-clojure on Ubuntu 22.04

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

sudo apt-get remove libpathetic-clojure

Uninstall libpathetic-clojure And Its Dependencies

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

sudo apt-get -y autoremove libpathetic-clojure

Remove libpathetic-clojure Configurations and Data

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

sudo apt-get -y purge libpathetic-clojure

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

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

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

References

Summary

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