Leiningen是一个Clojure项目管理工具。
安装过程如下:
1. 下载lein脚本
https://raw.github.com/technomancy/leiningen/preview/bin/lein
2. 复制到/usr/bin目录下,并允许执行
mv lein /usr/bin/
root@chenshu-yangzhou-home:~/Downloads# chmod +x /usr/bin/lein
3. 运行lein命令,不要使用root权限
lein
Downloading Leiningen now...
--2012-12-25 17:20:49-- https://github.com/downloads/technomancy/leiningen/leiningen-2.0.0-preview10-standalone.jar
Resolving github.com (github.com)... 207.97.227.239
Connecting to github.com (github.com)|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cloud.github.com/downloads/technomancy/leiningen/leiningen-2.0.0-preview10-standalone.jar [following]
--2012-12-25 17:20:50-- http://cloud.github.com/downloads/technomancy/leiningen/leiningen-2.0.0-preview10-standalone.jar
Reso