Leiningen Linux Mint 19 Installation

September 23, 2018 | By the+gnu+linux+evangelist.

Install Leiningen for Linux Mint 19


Hi! The Tutorial shows you Step-by-Step How to Install Leiningen Clojure Build Automation and Dependency Management Tool in GNU/Linux Mint 19.x Tara/Tessa/Tina/Tricia LTS.

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

Moreover, Leiningen is compatible with Maven, so it has access to large 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 Installation in Fedora 40 – Step-by-step
  1. Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    Leiningen Linux Mint 19.x Tara/Tessa/Tina/Tricia Installation Guide - Open Terminal

    In case first see: Terminal QuickStart Guide.

  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)

      sudo su -c "chown root:root ./lein && chmod a+x ./lein"
      sudo 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 Linux Mint

    Leiningen/Clojure Quick Start Linux Mint

    The Linked Tutorial shows you Step-by-Step How to Getting-Started with Leiningen and Clojure Hello-World App on Linux Mint.


QuickChic Theme • Powered by WordPress