Does apt-get work to install Clojure on Linux (ubuntu 10)?
Just a no-brainer script to install leiningen:
cd `mktemp -d`
wget https://raw.github.com/technomancy/leiningen/stable/bin/lein
chmod +x lein
sudo mv lein /usr/local/bin/
lein help
cd -
To summarize the comments:
Yes, apt-get works –
... BUT it it is not the preferred way to install Clojure.
So ... whats the "right" way to install Clojure ?
Leiningen remains the up-to-date, conventional way to rapidly get a Clojure installation up and running.
The steps are as follows :
- copying this shell script: https://raw.github.com/technomancy/leiningen/stable/bin/lein
- moving it to
/usr/local/bin
- calling
sudo chmod +x /usr/local/bin/lein
.
Make sure you have Java installed first, of course.
These steps will install Clojure on any platform with the latest version.