3 ms·
I can do an SBCL/emacs/SLIME setup in 15 minutes or so, but I've done it a bunch of times. Someone following my guides can do it in ~1 hour. I'd love to try o
by pchristensen 17y ago
I can do an SBCL/emacs/SLIME setup in 15 minutes or so, but I've done it a bunch of times. Someone following my guides can do it in ~1 hour.
I'd love to try out clojure, but I want to type something like 'sudo apt-get install clojure-sandbox'.
- regularfry 17y agoLeiningen actually isn't that far from being exactly that. It's not a one-liner, but setting up a scratch project that'll give you a repl is very straightforward. Setting up swank is only slightly less simple because you've got to edit a config file. It can be difficult to figure out the right incantation for that because the docs are pretty nonexistent, but google is helpful enough there.
- dpritchett 17y agoClojureBox provides what you ask for, but it's windows-only. To get up and running in Ubuntu you'd have to do the following: sudo apt-get purge openjdk* sudo apt-get install sun-java6-jre sun-java6-jdk git-core wget http://github.com/technomancy/leiningen/raw/stable/bin/lein lein self-install git clone git://github.com/relevance/labrepl.git cd labrepl lein deps script/repl elinks http://localhost:8080 Edit: To get emacs you'd want to use ELPA to install swank-clojure. The apt commands were lifted from Lau Jensen's video tutorial: http://www.vimeo.com/8398020 http://www.vimeo.com/8398020