How to Uninstall and Install libmedley-clojure on Ubuntu 22.04

Updated: October 28, 2022

Medley is a lightweight Clojure/ClojureScript library of useful, mostly pure functions that are “missing” from clojure.core. Medley has a tight focus and limits itself to a small set of general-purpose functions. In this tutorial, I will show you how to install libmedley-clojure on Ubuntu 22.04.

Software Requirement

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Check that you can run sudo commands.

Prerequisites to install libmedley-clojure on Ubuntu 22.04

Install libmedley-clojure Ubuntu 22.04

libmedley-clojure is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install libmedley-clojure using APT

This is a popular method for installing Ubuntu packages since it’s simple to understand, even if you’re new to Linux. Following these instructions to install libmedley-clojure on your Ubuntu.

Step 1: Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install libmedley-clojure Ubuntu by pasting this command into the terminal and executing it.

sudo apt -y install libmedley-clojure

Install libmedley-clojure using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get install aptitude

After installing, you can now install libmedley-clojure, just following these steps:

Step 1: Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. You can now install libmedley-clojure Ubuntu by executing this command in the terminal.

sudo aptitude install libmedley-clojure

Uninstall libmedley-clojure on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

If you installed libmedley-clojure using APT or Aptitude, you could uninstall libmedley-clojure on Ubuntu by running this command

sudo apt remove --auto-remove libmedley-clojure

If you want to uninstall libmedley-clojure and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge libmedley-clojure


In this tutorial, I showed you ways to install libmedley-clojure on Ubuntu 22.04 and ways to uninstall libmedley-clojure too. Please contact me if you require any assistance. I’d be delighted to respond.