2009年4月29日水曜日

Clojureのインストール(Ubuntu 9.04)

Clojure on Ubuntu
を参考にUbuntu 9.04にClojureをインストール。
sudo apt-get install openjdk-6-jdk
sudo apt-get install ant subversion git-core
mkdir ~/opt
cd ~/opt
svn co http://clojure.googlecode.com/svn/trunk clojure
svn up
cd clojure
ant
mkdir ~/.clojure
cp clojure.jar ~/.clojure
cd ~/.clojure
java -cp clojure.jar clojure.lang.Repl
user=> (+ 1 2)
3
cd ~/opt
git clone git://github.com/kevinoneill/clojure-contrib.git
cd clojure-contrib
git pull
ant -Dclojure.jar=../clojure/clojure.jar
cp *.jar ~/.clojure
emacs ~/.profile
=============
export CLOJURE_EXT=~/.clojure
PATH=$PATH:~/opt/clojure-contrib/launchers/bash
alias clj=clj-env-dir
=============

user=> (System/getProperty "java.class.path")
"/home/xxx/.clojure/clojure.jar
:/home/xxx/.clojure/clojure-contrib-slim.jar
:/home/xxx/.clojure/clojure-contrib.jar"


1 件のコメント:

  1. At the best roulette sites UK players can find, many of these promotions come in the form of deposit-match cash bonuses. You will at all times find several of} sites that provide free spins on sure slot video games, however in terms of|when it comes to|by way of} the best roulette bonuses, want to} search out probably the most beneficiant cash 메리트카지노 bonus. On this web page, we’ll offer recommendation on {how to|the way to|tips on how to} find a protected on-line roulette actual money casino.

    返信削除