How to Install and Uninstall libslingshot-clojure Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: September 20,2024

1. Install "libslingshot-clojure" package

Please follow the instructions below to install libslingshot-clojure on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libslingshot-clojure

2. Uninstall "libslingshot-clojure" package

Please follow the guidance below to uninstall libslingshot-clojure on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libslingshot-clojure package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libslingshot-clojure
Priority: optional
Section: universe/java
Installed-Size: 86
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Clojure Maintainers
Architecture: all
Source: slingshot-clojure
Version: 0.10.3-3
Depends: clojure1.6
Filename: pool/universe/s/slingshot-clojure/libslingshot-clojure_0.10.3-3_all.deb
Size: 17720
MD5sum: 466ca1cc7baccf4d08bd23a1a09719fc
SHA1: d4443802dfcf08b996f873f1f809840f22d68df7
SHA256: d509238d910ba1866a21ac21ab2f8f389ed4af074933df448bc184be7f522377
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
Homepage: https://github.com/scgilardi/slingshot/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu