How can I install an older version of OpenCPU?
I am running Ubuntu 22.04 and installed opencpu as described here https://www.opencpu.org/download.html
sudo add-apt-repository -y ppa:opencpu/opencpu-2.2
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y opencpu-server
I got version
2.2.11-jammy
but I need
2.2.9-jammy
I'm using a CRAN snapshot from April 2023 and it contains older version of some R-packages compared to the newest versions installed via the latest opencpu. Unfortunately, due to other issues, I cannot upgrade to newer snapshot and thus I need an older opencpu-version.
Option 1: running in docker
You can use the docker container for example:
Will run opencpu 2.2.9. Open it in your browser: http://localhost/ocpu/info
So you can base your personal app image on that in your
Dockerfilelike:option 2: copying installers
If you do not want to run in docker, you can still copy old installers from a docker image. So you would have to start the docker (on any machine):
And then in another shell copy the files:
And those
debfiles are the installers that you can install on your server.