Hello,
I'm currently trying to install WolframEngine to Ubuntu 20.04.2 LTS which is Linux Subsystem on my Windows computer. This is a ultimately to be able to use wolframscript from within my WSL command line. I've downloaded the WolframScript from here, and installed it with no problems. However, when I try to test it, (e.g. running wolframscript -code 2+2
) I'm prompted with this output:
A WolframKernel location could not be determined.
Use -configure to set WOLFRAMSCRIPT_KERNELPATH.
Alternatively, export WolframKernel=/yourpath/WolframKernel.
If you have no Wolfram product currently installed,
the free Wolfram Engine for developers can be downloaded
at https://www.wolfram.com/engine/.
I do in fact have a licensed kernal for Wolfram on my computer but since that runs off of Windows, I thought I would install the WolframEngine to my WSL. So I followed the link in the output prompt and downloaded the shell script titled: WolframEngine_12.3.1_LINUX.sh
. I've tried running this script (from multiple locations in my system) but each time I run source WolframEngine_12.3.1_LINUX.sh
. I always get the output
bash: source: WolframEngine_12.3.1_LINUX.sh: cannot execute binary file
I'm not sure why my system can't run the shell script. I'm running it using bash, as that is the shell interpreter for my Ubuntu distro. How can I get my system to run this file so I can start using wolframscript from my command line?