Welcome! Please see the About page for a little more info on how this works.

0 votes
ago in Tools by

I was redeploying an AWS beanstalk application. I was installing clojure using the commands from the clojure install guide for posix

commands:
  01_install_clojure:
    command: |
      curl -L -O https://github.com/clojure/brew-install/releases/latest/download/posix-install.sh
      chmod +x posix-install.sh
      sudo ./posix-install.sh

I believe this used to work, but it now fails with

./posix-install.sh: line 30: shasum: command not found

Using the linux instructions worked just fine. I can provide more info about the linux envorionment, but it was using aws' "Corretto 17 running on 64bit Amazon Linux 2023/4.10.0" platform which is one of the builtin java platforms for beanstalk.

1 Answer

0 votes
ago by

We've added a version verification step in the installer. The posix and linux installers use different tools to calculate the sha of the downloaded file according to the expectations of these platforms. You should use the installer that is most appropriate - here, that seems to be the linux installer (for Amazon Linux).

ago by
edited ago by
from https://clojure.org/guides/install_clojure

> This installer should work on Linux, BSD, and even Mac (but will conflict with brew!)

That made me think that I should expect the posix installer to work.
...