gpt4 book ai didi

linux - 无法为 Ubuntu 安装 LightTable

转载 作者:太空宇宙 更新时间:2023-11-04 05:04:06 24 4
gpt4 key购买 nike

我安装了 Ubuntu 14.04,真的很想尝试 LightTable。但连安装都无法安装。我所有的烦恼都与莱宁根有关。

我复制了这个步骤,就像manual said一样没有任何错误:

First install or update leiningen.

Download the lein script. For Windows, download lein.bat.
Place it on your $PATH where your shell can find it (eg. ~/bin).
Set it to be an executable (chmod a+x ~/bin/lein).
Run the Lein script (eg. "./lein" or "sh lein") without quotes.

之后,我尝试了接下来的步骤:

git clone https://github.com/LightTable/LightTable.git
cd LightTable
bash linux_deps.sh

但我得到的是:

Please install leiningen before running this script.

如果我运行:

lein version 

我收到:

bash: /usr/bin/lein: No such file or directory

./lein 的结果是:

Leiningen is a tool for working with Clojure projects.

Several tasks are available:
check Check syntax and warn on reflection.
classpath Write the classpath of the current project to output-file.
clean Remove all files from paths in project's clean-targets.
compile Compile Clojure source into .class files.
deploy Deploy jar and pom to remote repository.
deps Show details about dependencies.
do Higher-order task to perform other tasks in succession.
help Display a list of tasks or help for a given task or subtask.
install Install current project to the local repository.
jar Package up all the project's files into a jar file.
javac Compile Java source files.
new Generate scaffolding for a new project based on a template.
plugin DEPRECATED. Please use the :user profile instead.
pom Write a pom.xml file to disk for Maven interoperability.
repl Start a repl session either with the current project or standalone.
retest Run only the test namespaces which failed last time around.
run Run the project's -main function.
search Search remote maven repositories for matching jars.
show-profiles List all available profiles or display one if given an argument.
test Run the project's tests.
trampoline Run a task without nesting the project's JVM inside Leiningen's.
uberjar Package up the project files and all dependencies into a jar file.
update-in Perform arbitrary transformations on your project map.
upgrade Upgrade Leiningen to specified version or latest stable.
version Print version for Leiningen and the current JVM.
with-profile Apply the given task with the profile(s) specified.

Run `lein help $TASK` for details.

Global Options:
-o Run a task offline.
-U Run a task after forcing update of snapshots.
-h, --help Print this help.
-v, --version Print Leiningen's version.

See also: readme, faq, tutorial, news, sample, profiles, deploying, gpg, mixed-source, templates, and copying.

我做错了什么?我还应该做什么才能成为 LightTable 用户?

最佳答案

你安装了Java吗?这是 Leiningen 所必需的,但在其 main page 的安装说明中没有提及。 。他们只在 GitHub 的安装说明中提到它。您还需要安装 cURL,但这是针对 LightTable 本身,而不是针对 Leiningen。

在安装 OpenJDK(Java 7 版本)、Leiningen、Git 和 cURL 后,我才能够在 Ubuntu 14.04 上安装并运行 LightBox,所以希望您只是缺少类似的东西。

关于linux - 无法为 Ubuntu 安装 LightTable,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23012538/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com