Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.9K Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Installing WolframEngine on WSL: shell won't run

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?

POSTED BY: David Gillcrist
3 Replies
Posted 4 years ago
POSTED BY: David Law
Posted 4 years ago

You will have to install the Linux version of the Wolfram Engine on the Linux subsystem and use it from wolframscript.

POSTED BY: Rohit Namjoshi

Can you be more specific? As far as I am aware, I have at least downloaded the Linux version of WolframEngine. I as for installing it, I assume that is what running WolframEngine_12.3.1_LINUX.sh is meant to do. If this is not the case, how do I go about installing the WolframEngine on Linux?

POSTED BY: David Gillcrist
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard