How to Install Leiningen for Clojure Build on Ubuntu 14.04 Trusty LTS 32-64bit Linux

September 13, 2014 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Leiningen for Ubuntu 14.04 Trusty Installation Guide

You are Welcome! The Tutorial shows you Step-by-Step How to Install and Getting-Started with Leiningen Clojure Builds on Ubuntu 14.04 Trusty Tahr LTS i386/amd64 Linux.

And Leiningen for Ubuntu Trusty is the Clojure counterpart of Maven, a popular tool for managing Java dependencies.
Leiningen is compatible with Maven, so it has access tolarge and well-maintained repositories of Java libraries.
In addition, Clojure libraries are commonly found in the Clojars repository.
This repository is, of course, enabled by default in Leiningen.

How to Install Leiningen for Clojure Build on Ubuntu 14.04 Trusty LTS - Linux Penguin Clojure
  1. Open Terminal Window
    (Press “Enter” to Execute Commands).

    Ctrl+Alt+t

    Installing Leiningen for Ubuntu 14.04 Trusty LTS - 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)

      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 Ubuntu

    Leiningen/Clojure Quick Start Ubuntu

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


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

QuickChic Theme • Powered by WordPress