10224: Change event_type to "delete" to match HTTP verb and Python SDK code.
[arvados.git] / doc / sdk / cli / install.html.textile.liquid
1 ---
2 layout: default
3 navsection: sdk
4 navmenu: CLI
5 title: "Installation"
6
7 ...
8
9 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.
10
11 h3. Prerequisites: Ruby, Bundler, and curl libraries
12
13 {% include 'install_ruby_and_bundler' %}
14
15 Install curl libraries with your system's package manager. For example, on Debian or Ubuntu:
16
17 <notextile>
18 <pre>
19 ~$ <code class="userinput">sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev</code>
20 </pre>
21 </notextile>
22
23 h3. Option 1: Install from RubyGems and PyPI
24
25 <notextile>
26 <pre>
27 ~$ <code class="userinput">sudo -i gem install arvados-cli</code>
28 </pre>
29 </notextile>
30
31 <notextile>
32 <pre>
33 ~$ <code class="userinput">pip install arvados-python-client arvados-cwl-runner</code>
34 </pre>
35 </notextile>
36
37 h3. Option 2: Build and install from source
38
39 <notextile>
40 <pre>
41 ~$ <code class="userinput">git clone https://github.com/curoverse/arvados.git</code>
42 ~$ <code class="userinput">cd arvados/sdk/cli</code>
43 ~/arvados/sdk/cli$ <code class="userinput">gem build arvados-cli.gemspec</code>
44 ~/arvados/sdk/cli$ <code class="userinput">sudo -i gem install arvados-cli-*.gem</code>
45 ~/arvados/sdk/cli$ <code class="userinput">cd ../python</code>
46 ~/arvados/sdk/python$ <code class="userinput">python setup.py install</code>
47 ~/arvados/sdk/python$ <code class="userinput">cd ../cwl</code>
48 ~/arvados/sdk/cwl$ <code class="userinput">python setup.py install</code>
49 </pre>
50 </notextile>