-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
Thomas Roder edited this page Dec 13, 2023
·
11 revisions
You can either install Scoary2 directly into a (virtual) Python environment or use a container.
- dependencies: Python 3.10,
gcc-c++andpython-devel/python-dev - create a virtual Python 3.10 environment (recommended):
python -m venv ./venv && source venv/bin/activate - install from PyPi:
pip install scoary-2
- get conda/miniconda
- create a new environment called 'scoary-2':
conda create -c conda-forge -n scoary-2 python=3.10 gxx - activate the environment:
conda activate scoary-2 - install Scoary2:
pip install scoary-2
- get docker
- download the image:
docker pull troder/scoary-2 - use
scoarylike this:
docker run --rm -v /path/to/data:/data:Z \
-u $(id -u ${USER}):$(id -g ${USER}) \
troder/scoary-2 \
scoary2 --helpHow to start an interactive shell:
docker run -it --rm -v /path/to/data:/data:Z \
-u $(id -u ${USER}):$(id -g ${USER}) \
troder/scoary-2 \
/bin/bashPodman is a fully open, daemonless container engine with an almost identical syntax as docker.
- install podman using your linux package manager (
apt install podman/dnf install podman) - download the image:
podman pull troder/scoary-2 - use
scoary2like this:
podman run --rm -v /path/to/data:/data:Z troder/scoary-2 \
scoary2 --helpHow to start an interactive shell:
podman run -it --rm -v $PWD:/data:Z troder/scoary-2 /bin/bash