X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5bcba288077488791daa43a15d5fd5fb0c6e653c..9e3cf124be0a38ae835ab934077c8febf4e2daba:/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 df55077024..eff019a7fd 100644 --- a/doc/sdk/cli/install.html.textile.liquid +++ b/doc/sdk/cli/install.html.textile.liquid @@ -6,11 +6,11 @@ title: "Installation" ... -To use the @arv@ command, you can either install the @arvados-cli@ gem via RubyGems or build and install the package from source. +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, you can either install the @arvados-python-client@ and @arvados-cwl-runner@ from PyPi or install the packages from source. -h4. Prerequisites: Ruby >= 2.1.0 and curl libraries +h3. Prerequisites: Ruby, Bundler, 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: @@ -20,21 +20,41 @@ $ sudo apt-get install libcurl3 libcurl3-gnutls libcurl4 -h4. Option 1: install with RubyGems +h3. Option 1: Install from RubyGems and PyPi
-$ sudo gem install arvados-cli
+arvados/sdk/cli$ sudo -i gem install arvados-cli
 
-h4. Option 2: build and install from source + +
+arvados/sdk/cli$ sudo -i pip install arvados-python-client arvados-cwl-runner
+
+
+ +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
+$ sudo -i gem install arvados-cli-*.gem
+
+
+ + +
+$ cd arvados/sdk/python
+$ sudo -i python setup.py install
+
+
+ + +
+$ cd arvados/sdk/cwl
+$ sudo -i python setup.py install