Leiningen Arch Linux Installation Guide

September 23, 2018 | By thelinuxevangelist | Filed in: Tutorial.

Install Leiningen on Arch Linux

You are Welcome! The Tutorial Shows You Step-by-Step How to Install Leiningen on Arch GNU/Linux 32/64-bit.

And Leiningen for Arch Linux is the Clojure counterpart of Maven, a popular tool for managing Java dependencies.

Furthermore, Leiningen is compatible with Maven, so it has access tolarge and well-maintained repositories of Java libraries.

Finally, Clojure libraries are commonly found in the Clojars repository. This repository is, of course, enabled by default in Leiningen.

Leiningen Arch Linux Installation Guide - Linux Penguin Clojure
  1. First Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    Leiningen Arch Linux Installation Guide -  Kde5 Open  Terminal
  2. Download Leiningen Script

    cd  
    wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
  3. Relocating Leiningen Script

    • System Wide Installation (need Admin Privileges)
      su -c "chown root:root ./lein && chmod a+x ./lein"
      su -c "mv ./lein /usr/local/bin/"
    • Local Installation
      chmod a+x ./lein
      mkdir $HOME/bin
      mv ./lein $HOME/bin

      Test installation:

      which lein

      If No Output then:

      echo "export PATH=$PATH:$HOME/bin" >> $HOME/.bashrc
      source $HOME/.bashrc
  4. How to Getting-Started with Leiningen and Clojure on CentOS

    Leiningen/Clojure Quick Start CentOS

    The Linked Tutorial Shows You Step-by-Step How to Getting-Started with Leiningen and Clojure Hello-World App on CentOS.


Tags: , , , , , , , , , , , , , , , , , , , , , ,