Merge branch '21504-arv-mount-reference'
[arvados.git] / doc / sdk / cli / install.html.textile.liquid
index 4776a97895553efcde7b71f38197d56f6f56db7c..e0d50b874b9251ea3074e31a3f91538bb282f4ab 100644 (file)
@@ -1,49 +1,32 @@
 ---
 layout: default
 navsection: sdk
-navmenu: CLI
+navmenu: Command line tools (CLI SDK)
 title: "Installation"
 ...
+{% comment %}
+Copyright (C) The Arvados Authors. All rights reserved.
 
-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.
-
-h3. Prerequisites: Ruby, Bundler, and curl libraries
+SPDX-License-Identifier: CC-BY-SA-3.0
+{% endcomment %}
 
-{% include 'install_ruby_and_bundler' %}
-
-Install curl libraries with your system's package manager. For example, on Debian or Ubuntu:
+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.
 
-<notextile>
-<pre>
-~$ <code class="userinput">sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev</code>
-</pre>
-</notextile>
+h2. Prerequisites
 
-h3. Option 1: Install from RubyGems and PyPI
+# "Install Ruby":../../install/ruby.html
+# "Install the Python SDK":../python/sdk-python.html
 
-<notextile>
-<pre>
-~$ <code class="userinput">sudo -i gem install arvados-cli</code>
-</pre>
-</notextile>
+The SDK uses @curl@ which depends on the @libcurl@ C library.  To build the module you may have to install additional packages.  On Debian 10 this is:
 
-<notextile>
 <pre>
-~$ <code class="userinput">pip install arvados-python-client arvados-cwl-runner</code>
+$ apt-get install build-essential libcurl4-openssl-dev
 </pre>
-</notextile>
 
-h3. Option 2: Build and install from source
+h2. Install from RubyGems
 
 <notextile>
 <pre>
-~$ <code class="userinput">git clone https://github.com/curoverse/arvados.git</code>
-~$ <code class="userinput">cd arvados/sdk/cli</code>
-~/arvados/sdk/cli$ <code class="userinput">gem build arvados-cli.gemspec</code>
-~/arvados/sdk/cli$ <code class="userinput">sudo -i gem install arvados-cli-*.gem</code>
-~/arvados/sdk/cli$ <code class="userinput">cd ../python</code>
-~/arvados/sdk/python$ <code class="userinput">python setup.py install</code>
-~/arvados/sdk/python$ <code class="userinput">cd ../cwl</code>
-~/arvados/sdk/cwl$ <code class="userinput">python setup.py install</code>
+# <code class="userinput">gem install arvados-cli</code>
 </pre>
 </notextile>