X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d3229c7f727f40436cad66fba5f3345e0b3eede5..de4d6cb4a482d07fbeb2c73366e6717441a26e17:/doc/sdk/cli/install.html.textile.liquid diff --git a/doc/sdk/cli/install.html.textile.liquid b/doc/sdk/cli/install.html.textile.liquid index 18e1f705e0..8cde514f68 100644 --- a/doc/sdk/cli/install.html.textile.liquid +++ b/doc/sdk/cli/install.html.textile.liquid @@ -6,37 +6,45 @@ title: "Installation" ... -If you are logged in to an Arvados VM, the @arv@ tool should be installed. +Arvados CLI tools are written in Ruby and Python. To use the @arv@ command, you can either install the @arvados-cli@ gem via RubyGems or build and install the package from source. The @arv@ command also relies on other Arvados tools. To get those, install the @arvados-python-client@ and @arvados-cwl-runner@ packages, either from PyPI or source. -To use @arv@ elsewhere, you can either install the @arvados-cli@ gem via RubyGems or build and install the package from source. +h3. Prerequisites: Ruby, Bundler, and curl libraries -h4. Prerequisites: Ruby >= 2.1.0 and curl libraries - -Make sure you have "Ruby and bundler":{{site.baseurl}}/install/install-manual-prerequisites-ruby.html installed. +{% include 'install_ruby_and_bundler' %} Install curl libraries with your system's package manager. For example, on Debian or Ubuntu:
-$ sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev
+~$ sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev
 
-h4. Option 1: install with RubyGems +h3. Option 1: Install from RubyGems and PyPI + + +
+~$ sudo -i gem install arvados-cli
+
+
-$ sudo gem install arvados-cli
+~$ pip install arvados-python-client arvados-cwl-runner
 
-h4. Option 2: build and install from source +h3. Option 2: Build and install from source
-$ git clone https://github.com/curoverse/arvados.git
-$ cd arvados/sdk/cli
-$ gem build arvados-cli.gemspec
-$ sudo gem install arvados-cli-*.gem
+~$ git clone https://github.com/curoverse/arvados.git
+~$ cd arvados/sdk/cli
+~/arvados/sdk/cli$ gem build arvados-cli.gemspec
+~/arvados/sdk/cli$ sudo -i gem install arvados-cli-*.gem
+~/arvados/sdk/cli$ cd ../python
+~/arvados/sdk/python$ python setup.py install
+~/arvados/sdk/python$ cd ../cwl
+~/arvados/sdk/cwl$ python setup.py install