20684: Modernize pycurl dependency discussion
authorBrett Smith <brett.smith@curii.com>
Mon, 10 Jul 2023 15:50:56 +0000 (11:50 -0400)
committerBrett Smith <brett.smith@curii.com>
Mon, 10 Jul 2023 15:54:23 +0000 (11:54 -0400)
These instructions should be good for Debian 10+ and I'm assuming
corresponding Ubuntu too.

* Update libssl package name
* Clarify the command is good for multiple distros
* Prefer apt over apt-get

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

doc/sdk/python/arvados-cwl-runner.html.textile.liquid
doc/sdk/python/arvados-fuse.html.textile.liquid
doc/sdk/python/sdk-python.html.textile.liquid

index 284bb210e91882313b4344e106f60b6ba458d245..237721ac12fce95babec56a634e7b25f80aa8b43 100644 (file)
@@ -32,10 +32,10 @@ Run @pip install arvados-cwl-runner@ in an appropriate installation environment,
 
 Note:
 
-The CWL Runner uses @pycurl@ which depends on the @libcurl@ C library.  To build the module you may have to first install additional packages.  On Debian 10 this is:
+The CWL Runner uses @pycurl@ which depends on the @libcurl@ C library.  To build the module you may have to first install additional packages.  On Debian-based distributions you can install them by running:
 
 <notextile>
-<pre><code># <span class="userinput">apt-get install git build-essential python3-dev libcurl4-openssl-dev libssl1.0-dev</span>
+<pre><code># <span class="userinput">apt install git build-essential python3-dev libcurl4-openssl-dev libssl-dev</span>
 </code></pre>
 </notextile>
 
index 04dca2c849d4a5519cfbcb93c6a96bdc4dbd4dfe..8b71c7d6926fa99c453653dd8c8987664348689e 100644 (file)
@@ -32,7 +32,12 @@ Run @pip install arvados_fuse@ in an appropriate installation environment, such
 
 Note:
 
-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 10 this is:
+The FUSE driver uses @pycurl@ which depends on the @libcurl@ C library.  To build the module you may have to first install additional packages.  On Debian-based distributions you can install them by running:
+
+<notextile>
+<pre><code># <span class="userinput">apt install git build-essential python3-dev libcurl4-openssl-dev libssl-dev</span>
+</code></pre>
+</notextile>
 
 <pre>
 $ apt-get install git build-essential python3-dev libcurl4-openssl-dev libssl-dev python3-llfuse
index 46393069220f6fe3be82954bdba9ad9f147c70d9..fd1ff36c5ed9e2ea89443c9d9f21973f181b3f80 100644 (file)
@@ -69,11 +69,12 @@ h2(#pip-install). Install from PyPI with pip
 
 This installation method is recommended to use the SDK in your own Python programs. If installed into a @virtualenv@, it can coexist with the system-wide installation method from a distribution package.
 
-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 10 you can do this by running:
+Note the Python SDK uses @pycurl@ which depends on the @libcurl@ C library.  To build the module you may have to first install additional packages.  On Debian-based distributions you can install them by running:
 
-<pre>
-$ apt-get install git build-essential python3-dev libcurl4-openssl-dev libssl-dev
-</pre>
+<notextile>
+<pre><code># <span class="userinput">apt install git build-essential python3-dev libcurl4-openssl-dev libssl-dev</span>
+</code></pre>
+</notextile>
 
 Run @python3 -m pip install arvados-python-client@ in an appropriate installation environment, such as a @virtualenv@.