15572: Documentation tweaks from experience installing dev cluster
[arvados.git] / doc / sdk / cli / install.html.textile.liquid
index eff019a7fdaa99403ae67732eb4d2da9f6071d65..c43c095aa224dffa3d7786b3947ff4f74144a8a4 100644 (file)
@@ -3,58 +3,24 @@ layout: default
 navsection: sdk
 navmenu: CLI
 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, you can either install the @arvados-python-client@ and @arvados-cwl-runner@ from PyPi or install the packages from source.
-
-h3. Prerequisites: Ruby, Bundler, and curl libraries
-
-{% include 'install_ruby_and_bundler' %}
-
-Install curl libraries with your system's package manager. For example, on Debian or Ubuntu:
+SPDX-License-Identifier: CC-BY-SA-3.0
+{% endcomment %}
 
-<notextile>
-<pre>
-$ <code class="userinput">sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev</code>
-</pre>
-</notextile>
+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. Option 1: Install from RubyGems and PyPi
+h2. Prerequisites
 
-<notextile>
-<pre>
-arvados/sdk/cli$ <code class="userinput">sudo -i gem install arvados-cli</code>
-</pre>
-</notextile>
+# "Install Ruby and Bundler":../../install/ruby.html
+# "Install the Python SDK":../python/sdk-python.html
 
-<notextile>
-<pre>
-arvados/sdk/cli$ <code class="userinput">sudo -i pip install arvados-python-client arvados-cwl-runner</code>
-</pre>
-</notextile>
-
-h3. Option 2: Build and install from source
-
-<notextile>
-<pre>
-$ <code class="userinput">git clone https://github.com/curoverse/arvados.git</code>
-$ <code class="userinput">cd arvados/sdk/cli</code>
-$ <code class="userinput">gem build arvados-cli.gemspec</code>
-$ <code class="userinput">sudo -i gem install arvados-cli-*.gem</code>
-</pre>
-</notextile>
-
-<notextile>
-<pre>
-$ <code class="userinput">cd arvados/sdk/python</code>
-$ <code class="userinput">sudo -i python setup.py install</code>
-</pre>
-</notextile>
+h2. Install from RubyGems
 
 <notextile>
 <pre>
-$ <code class="userinput">cd arvados/sdk/cwl</code>
-$ <code class="userinput">sudo -i python setup.py install</code>
+~$ <code class="userinput">sudo -i gem install arvados-cli</code>
 </pre>
 </notextile>