GNU/Linux Mageia Installing Clojure – Quick-Start Guide
Hi! The Tutorial shows you Step-by-Step How to Install Clojure in Mageia GNU/Linux Desktop.
And Clojure for Mageia is a dynamic and functional dialect of the Lisp Programming Language on the Java platform.
Clojure is a Homoiconic Language, which is a fancy Term describing the fact that Clojure Programs are represented by Clojure Data Structures.
Lisp, an acronym for List Processing, is a functional Programming Language that was designed for easy manipulation of Data Strings.
Leiningen is the easiest way to use Clojure. With a focus on Project automation and declarative configuration, it gets out of your way and lets you focus on your Code.
Clojure as Prerequisite to be Successfully Run Need an Oracle Java JDK 8+ Working Installation on Linux.
Moreover, this guide includes detailed instructions about to Getting-Started with Clojure and Leiningen on Mageia.
Finally, this Setup is Valid also for All the others Mageia like Distros as:
- OpenMandriva
- ROSA
1. Java Setup
First, Check if Java JDK is Already Installed
With:javac --version
If Yes then in the Output you should Find the Version! Otherwise See below…
How to Install Java on Mageia GNU/Linux:2. Installing Dependencies
Then to Install Required Software
Run:su -c "dnf install curl rlwrap"
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.
Contents