How to Install and Uninstall libslingshot-clojure Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "libslingshot-clojure" package

This is a short guide on how to install libslingshot-clojure on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libslingshot-clojure

2. Uninstall "libslingshot-clojure" package

Please follow the instructions below to uninstall libslingshot-clojure on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libslingshot-clojure $ sudo apt autoclean && sudo apt autoremove

3. Information about the libslingshot-clojure package on Ubuntu 21.10 (Impish Indri)

Package: libslingshot-clojure
Architecture: all
Version: 0.12.2-3
Priority: optional
Section: universe/java
Source: slingshot-clojure
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Clojure Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52
Depends: libclojure-java
Filename: pool/universe/s/slingshot-clojure/libslingshot-clojure_0.12.2-3_all.deb
Size: 18264
MD5sum: 1bfd7c7f87546c52ed72139d49b54f4b
SHA1: 45ccd0c60f9435652a6ffa7333e511214080f4f7
SHA256: 5ce4906eefe1eb2f311e8e9294a3c8049e2c78574cb2fa58c77ca126d6085b59
SHA512: f126a58cac36ae908f36c91c098cbc6219297b00a12aec1f0c555c3a16ddc252fa20e90772718d1fdc3a7d7de44a5c44e0e24fa2c430f9bfefa4a8031a69cb8d
Homepage: https://github.com/scgilardi/slingshot/
Description-en: Enhanced throw and catch library for Clojure
Slingshot is a Clojure library providing enhanced throw and catch replacements
try+ and throw+.
.
Each is 100% compatible with Clojure's and Java's native try and throw both in
source code and at runtime. Each also provides new capabilities intended to
improve ease of use by leveraging Clojure's features like maps, records, and
destructuring. Among them:
.
* throw+ can throw any Java object, not just those whose class is derived
from java.lang.Throwable (e.g. Clojure maps or records)
.
* catch clauses within try+ can catch any Java object thrown by throw+,
Clojure's throw, or Java's throw
.
* selectors in catch clauses allow matching on class name, key-value
vectors, predicates and more
.
* Information about the context of a throw site is accessible via a hidden
argument that includes information on, for example, the caught object,
exception messages and stack traces
Description-md5: 6cd61a55ec98f45ed1067f4e9a5dc928