Make sure you have epel Yum repo installed, if you don’t:

$ sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

Please note that the above instructions are for a 64-bit architecture, on a 32-bit architecture:

$ sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

Make sure you have working version of JDK 6 (including the compiler), if not install it by running:

$ sudo yum install java-1.6.0-openjdk-devel

Proceed with the installation of leiningen “a build tool for Clojure designed to not set your hair on fire”:

$ sudo yum install readline rlwrap
$ cd /usr/local/bin
$ sudo wget https://github.com/technomancy/leiningen/raw/stable/bin/lein --no-check-certificate
$ sudo chmod 775 lein
$ lein

First run of “lein” will download all the required stuff and display help, after which you can run interactive shell with simply:

$ lein repl