On my Raspbian, when I RUN:
wolframscript -code 2+2
I got this error message:
wolfram cannot determine operating system.
I am not sure about what happen, maybe because I switched to Raspbian 64bits kernel?
What should I do to make it work if I don't switch back? (I even don't it works or not on 32bits Raspbian)
Try setting the SystemIDList environment variable, for example
SystemIDList=Linux-ARM wolframscript -code 2+2
It works, thanks :)