I have tried to install Mathematica 12.1.1 on my Linux system. But the WolframScripts installing asked me that I should install it by root or sudo
. I cannot get the root account and I want to install it just for my current user. How can I do that?
I have installed it with rpm2cpio
, then I add all the [path]/bin
paths to the ~/.bashrc
and source
it. But there is another question that occurred when I run wolframscript
directly:
[quanfeng@XEON ~]$ wolframscript
/home/quanfeng/software/wolfram/bin/WolframKernel: line 15: uname: command not found
Cannot determine operating system.
However, if I run WolframKernel
directly, there is no any question:
[quanfeng@XEON bin]$ WolframKernel
Mathematica 12.1.1 Kernel for Linux x86 (64-bit)
Copyright 1988-2020 Wolfram Research, Inc.
In[1]:=
In[1]:= Exit[]
So, what does the message Cannot determine operating system
mean and what should I do?
I found that the wolframscript
cannot find the system command such as uname
correctly, why and how to fix it?