Installation - MrTomRod/scoary-2 GitHub Wiki
You can either install Scoary2 directly into a (virtual) Python environment or use a container.
Python
- 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
Conda
- 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
Docker
- 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 --help
How 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/bash
Podman
Podman 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 --help
How to start an interactive shell:
podman run -it --rm -v $PWD:/data:Z troder/scoary-2 /bin/bash