I\'ve been trying to install Clojure on my computer to learn and use. I\'m running Ubuntu 10.04, and have installed the latest Sun Java SDK and environment from Synaptic.
FWIW, if you don't have an intense desire to compile stuff, your life will be easier if you just download leiningen or cake, and get one of them to manage all the jars and classpaths and stuff. For example, here's all it takes to get lein running on a vanilla unix system. (I've omitted the screensful of output some of these commands generate to emphasize that you only have to type a few things).
akm@li231-96: ~
$ curl https://raw.github.com/technomancy/leiningen/stable/bin/lein > lein
akm@li231-96: ~
$ chmod +x lein
akm@li231-96: ~
$ ./lein self-install
akm@li231-96: ~
$ ./lein repl
Using JLine for console I/O; install rlwrap for optimum experience.
REPL started; server listening on localhost:60099.
user=> (inc 1)
2
Your experience will be better if you put lein on your PATH somewhere (eg ~/bin
) rather than calling it by full path, but it's not at all necessary.