[英]Unable to install LightTable for Ubuntu
我有 Ubuntu 14.04,真的很想嘗試 LightTable。 但是連安裝都不行。 我遇到的所有麻煩都與萊寧根有關。
我復制了這個步驟就像手冊說的沒有任何錯誤:
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 用戶?
那么這部分:
bash: /usr/bin/lein: No such file or directory
是因為找不到命令,是不是在那個目錄下? 您在個人資料中的 $PATH 中添加了什么? 我在猜測,但我認為您需要將其正確添加到您的 $PATH 環境中。 如果你跑
env
那顯示什么?
要從 ubuntu 32bit 或 64bit.do 中刪除 lighttable,
sudo rm -r /opt/LightTable /usr/bin/lighttable
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.