How To Install clojure-spec-alpha on Fedora 36

In this tutorial we learn how to install clojure-spec-alpha in Fedora 36. clojure-spec-alpha is Spec is a Clojure library to describe the structure of data and functions

Introduction

In this tutorial we learn how to install clojure-spec-alpha on Fedora 36.

What is clojure-spec-alpha

Spec is a Clojure library to describe the structure of data and functions. Specs can be used to validate data, conform (destructure) data, explain invalid data, generate examples that conform to the specs, and automatically use generative testing to test functions.

We can use yum or dnf to install clojure-spec-alpha on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install clojure-spec-alpha.

Install clojure-spec-alpha on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install clojure-spec-alpha using dnf by running the following command:

sudo dnf -y install clojure-spec-alpha

Install clojure-spec-alpha on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install clojure-spec-alpha using yum by running the following command:

sudo yum -y install clojure-spec-alpha

How To Uninstall clojure-spec-alpha on Fedora 36

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

sudo dnf remove clojure-spec-alpha

clojure-spec-alpha Package Contents on Fedora 36

/usr/share/doc/clojure-spec-alpha
/usr/share/doc/clojure-spec-alpha/CHANGES.md
/usr/share/doc/clojure-spec-alpha/CONTRIBUTING.md
/usr/share/doc/clojure-spec-alpha/README.md
/usr/share/java/clojure-spec-alpha
/usr/share/java/clojure-spec-alpha/spec.alpha.jar
/usr/share/licenses/clojure-spec-alpha
/usr/share/licenses/clojure-spec-alpha/LICENSE
/usr/share/maven-metadata/clojure-spec-alpha.xml
/usr/share/maven-poms/clojure-spec-alpha
/usr/share/maven-poms/clojure-spec-alpha/spec.alpha.pom

References

Summary

In this tutorial we learn how to install clojure-spec-alpha on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).