Невозможно установить LightTable для Ubuntu

Я получил Ubuntu 14.04 и очень хочу попробовать LightTable. Но не могу даже установить его. Все неприятности, которые у меня есть, связаны с leiningen.

Я воспроизвел эти шаги точно так же, как в руководстве сказано без ошибок:

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?

3 ответа

У вас установлена ​​Java? Это требуется для Leiningen, но не упоминается в инструкциях по установке на их главной странице. Они упоминают об этом только в инструкциях по установке на GitHub. Вам также нужно будет установить cURL, но это для LightTable, а не для Leiningen.

Я только что смог установить и запустить LightBox в Ubuntu 14.04 после установки OpenJDK (версия Java 7), Leiningen, Git и cURL, так что, надеюсь, вы просто упустили что-то подобное.

Чтобы удалить lighttable из Ubuntu 32bit или 64bit.do,

sudo rm -r /opt/LightTable /usr/bin/lighttable

Ну эта часть:

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

Это потому, что он не может найти команду, находится ли он в этом каталоге? Что вы добавили к $PATH в своем профиле? Я думаю, но я думаю, что вам нужно правильно добавить его в вашу среду $PATH. Если вы бежите

env

Что это показывает?

Другие вопросы по тегам