Installation instructions¶
BioSimulators-OpenCOR is available as a command-line program and as a command-line program encapsulated into a Docker image.
Python Package and command-line program¶
Install the requirements for OpenCOR:
apt-get install -y \ curl \ libpulse-mainloop-glib0 \ libx11-6 \ libxext6 \ libxslt1.1 \ sqlite3
Install OpenCOR:
url=https://opencor.ws/downloads/snapshots/2021-05-19/OpenCOR-2021-05-19-Linux.tar.gz curl $url | tar -xz --directory=/opt/
Add OpenCOR to your system path:
export PATH=/opt/OpenCOR-2021-05-19-Linux:$PATH
Install pip for this version of Python:
curl https://bootstrap.pypa.io/get-pip.py | OpenCOR -c PythonShell
Use pip to install this package:
/opt/OpenCOR-2021-05-19-Linux/python/bin/python -m pip install biosimulators-opencor
Docker image with a command-line entrypoint¶
After installing Docker, run the following command to install the Docker image for BioSimulators-OpenCOR:
docker pull ghcr.io/biosimulators/opencor