Leiningen Installation in Fedora 30

May 8, 2019 | By the+gnu+linux+evangelist.

Setting Up

  1. Download Leiningen Script.

    cd & cd Downloads
    wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
  2. 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

Contents


QuickChic Theme • Powered by WordPress