I went back and forth if this question should be asked, but decided to ask it anyways.

Is it possible to run Mathematica (command line version) from the developer mode linux in W10?

  • $\begingroup$ Can you explain what you have tried so far? And what the issues were? $\endgroup$ – Felix Jan 20 '17 at 2:00
  • $\begingroup$ @felix I'm running W8. I can upgrade one of my desktops if that shows accurate effort for the question but can't try as I stand. $\endgroup$ – William Jan 20 '17 at 2:03
  • $\begingroup$ @Felix I can't tell if its you who down voted but would it be an acceptable question to ask how to establish a link between mathematica windows version and the new Windows subsystem for Linux? Windows has a more stable interface(slightly) and would give you the best of both worlds. $\endgroup$ – William Jan 21 '17 at 19:38
  • $\begingroup$ Nobody down voted your question. I am actually just now trying to install it. However, you could still improve your question and indicate what exactly you try to achieve. From your last comment it seems that you don't necessarily want to run Mathematica in the Linux shell. So what is it that you want? Exchanging files? Call Linux software within Mathematica? $\endgroup$ – Felix Jan 22 '17 at 1:14
  • $\begingroup$ @Felix I meant close voted not downvoted. I want access to the command line tools mainly & .NETLink at the same time. There is no such thing as .NETLink in linux obviously and linux is lacking the command line interfaces. $\endgroup$ – William Jan 22 '17 at 1:46

I managed to install and run Mathematica in the Linux shell of Windows 10. I had some minor issues, described here, here, here, and here. To summarize those links, I had to

  • create the directory /usr/share/desktop-directories/
  • add my hostname to /etc/hosts (not strictly speaking related to Mathematica)
  • install an X-server (xming) and start the X-server
  • add export DISPLAY=:0 and export KMP_AFFINITY=disabled to my ~/.bashrc

I could not really test any features because I already used by license key but at least I can confirm that the pop-up requesting the key opens correctly.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.