X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/77231f9a202692ae827a5e262ddc0b99ba5dd991..2f66d4cc05e9442a9bb69969744d0750a02a1ed4:/doc/sdk/python/arvados-fuse.html.textile.liquid?ds=sidebyside diff --git a/doc/sdk/python/arvados-fuse.html.textile.liquid b/doc/sdk/python/arvados-fuse.html.textile.liquid index b5003634b6..0ac2d0c7e1 100644 --- a/doc/sdk/python/arvados-fuse.html.textile.liquid +++ b/doc/sdk/python/arvados-fuse.html.textile.liquid @@ -10,55 +10,40 @@ Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 {% endcomment %} -The Arvados FUSE driver is a Python utility that allows to see the Keep service as a normal filesystem, so that data can be accessed using standard tools. This driver requires the Python SDK installed in order to access Arvados services. +The Arvados FUSE driver is a Python utility that allows you to see the Keep service as a normal filesystem, so that data can be accessed using standard tools. This driver requires the Python SDK installed in order to access Arvados services. -h3. Installation +h2. Installation -If you are logged in to an Arvados VM, the @arv-mount@ utility should already be installed. +If you are logged in to a managed Arvados VM, the @arv-mount@ utility should already be installed. -To use the FUSE driver elsewhere, you can install from a distribution package, PyPI, or source. +To use the FUSE driver elsewhere, you can install from a distribution package, or PyPI. -{% include 'notebox_begin' %} -The Python SDK requires Python 2.7. -{% include 'notebox_end' %} +h2. Option 1: Install from distribution packages -h4. Option 1: Install from distribution packages +First, "add the appropriate package repository for your distribution":{{ site.baseurl }}/install/packages.html -First, "add the appropriate package repository for your distribution":{{ site.baseurl }}/install/install-manual-prerequisites.html#repos. +{% assign arvados_component = 'python-arvados-fuse' %} -{% assign rh_version = "6" %} -{% include 'note_python_sc' %} +{% include 'install_packages' %} -On Red Hat-based systems: +h2. Option 2: Install with pip - -
~$ echo 'exclude=python2-llfuse' | sudo tee -a /etc/yum.conf
-~$ sudo yum install python-arvados-fuse
-
-
+Run @pip install arvados_fuse@ in an appropriate installation environment, such as a virtualenv. -On Debian-based systems: +Note: - -
~$ sudo apt-get install python-arvados-fuse
-
-
+The SDK uses @pycurl@ which depends on the @libcurl@ C library. To build the module you may have to first install additional packages. On Debian 9 this is: -h4. Option 2: Install with pip +
+$ apt-get install git build-essential python-dev libcurl4-openssl-dev libssl1.0-dev python-llfuse
+
-Run @pip-2.7 install arvados_fuse@ in an appropriate installation environment, such as a virtualenv. +For Python 3 this is: -h4. Option 3: Install from source - -Install the @python-setuptools@ package from your distribution. Then run the following: - - -
~$ git clone https://github.com/curoverse/arvados.git
-~$ cd arvados/services/fuse
-~/arvados/services/fuse$ python2.7 setup.py install
-
-
+
+$ apt-get install git build-essential python3-dev libcurl4-openssl-dev libssl1.0-dev python3-llfuse
+
h3. Usage -Please refer to the "Mounting Keep as a filesystem":{{site.baseurl}}/user/tutorials/tutorial-keep-mount.html tutorial for more information. \ No newline at end of file +Please refer to the "Accessing Keep from GNU/Linux":{{site.baseurl}}/user/tutorials/tutorial-keep-mount-gnu-linux.html tutorial for more information.