-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathsystemDependencies.Rmd
More file actions
54 lines (40 loc) · 2.24 KB
/
systemDependencies.Rmd
File metadata and controls
54 lines (40 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
title: "System Dependencies"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{System Dependencies}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
## System Dependencies
A dependency is a broad software engineering term used to refer when software relies on other software in order to be functional. For R package dependencies, the installation of the `synapser` package will take care of installing other R packages that `synapser` depends on, using dependencies specified in the [DESCRIPTION](../DESCRIPTION) file. However, lower level system dependencies are not automatically installed.
Most Windows and Mac machines have the required system dependencies. Linux machines, including most Amazon Web Services EC2 machines, will need to be configured before installing `synapser`.
### Required System Dependencies
* libssl-dev
* libcurl-dev
* libffi-dev
* zlib-dev
### Python Version Requirements
**Important:** In addition to system dependencies, synapser requires specific Python version compatibility:
- **Supported Python versions:** 3.9 to 3.11
- **Recommended version:** Python 3.10 for optimal compatibility
- **Unsupported:** Python 3.12 or later (will cause installation/runtime errors)
This Python version restriction exists because synapser uses reticulate 1.28 to interface with the Synapse Python Client. Python 3.12+ introduces changes that are incompatible with this version of reticulate.
If you need to manage multiple Python versions, consider using [pyenv](https://github.com/pyenv/pyenv) (Linux/macOS) or [pyenv-win](https://github.com/pyenv-win/pyenv-win) (Windows).
### Ubuntu Installation
To install these system dependencies on Ubuntu machines:
```
apt-get update -y
apt-get install -y dpkg-dev zlib1g-dev libssl-dev libffi-dev
apt-get install -y curl libcurl4-openssl-dev
```
Another option is to use the provided [Dockerfile](https://github.com/Sage-Bionetworks/synapser/blob/master/Dockerfile).
For more information on installing `synapser` with Docker, please see our [Docker vignettes](docker.html).
### Redhat Installation
To install these system dependencies on Redhat machines:
```
yum update -y
yum install -y openssl-devel curl-devel libffi-devel zlib-devel
yum install -y R
```