Leiningen Installation in Fedora 40 – Step-by-step

March 13, 2024 | By the+gnu+linux+evangelist.

How to Install

  1. 2. Downloading Leiningen

    Download Leiningen Script
    First, access the Target:

    cd & cd Downloads

    And then Grab it with:

    wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
  2. 3. Setting Up Leiningen

    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

  3. 4. Leiningen Getting Started

    How to Getting-Started with Leiningen and Clojure on Fedora

    Leiningen/Clojure Quick Start Fedora

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

Contents


QuickChic Theme • Powered by WordPress