Linux   发布时间:2022-04-01  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了在Linux Mint上安装Leiningen for Clojure 12大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我是一个clojure初学者.我按照 http://www.unexpected-vortices.com/clojure/brief-beginners-guide/development-env.html给出的步骤在我运行Linux Mint 12的机器上设置Leiningen. cd ~/bin wget https://raw.github.com/technomancy/leininge
我是一个clojure初学者.我按照 http://www.unexpected-vortices.com/clojure/brief-beginners-guide/development-env.html给出的步骤在我运行Linux Mint 12的机器上设置Leiningen.

cd ~/bin
wget https://raw.github.com/technomancy/leiningen/stable/bin/lein
chmod +x lein
lein self-install

但现在当我运行以下命令时:

lein new foobar

我明白了

The program 'lein' is currently not installed.  You can install it by typing:
sudo apt-get install leiningen

我在〜/ .lein / self-installs中看到一个文件leiningen-1.7.1-standalone.jar.为什么我被要求使用包管理器@R_744_10696@lein,即使我使用自安装方法

请帮忙
谢谢

解决方法

好像你的〜/ bin目录不在你的PATH上.

.bashrc(或.bash_profilE)中,您需要添加以下内容

export PATH=$HOME/bin:$PATH

大佬总结

以上是大佬教程为你收集整理的在Linux Mint上安装Leiningen for Clojure 12全部内容,希望文章能够帮你解决在Linux Mint上安装Leiningen for Clojure 12所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。