红联Linux门户
Linux帮助

Ubuntu 16.04下Mathematica 10.4的安装、汉化及删除

发布时间:2016-05-28 10:05:28来源:linux网站作者:九度十二分

ubuntu下安装Mathematica需要
1.安装文件:Mathematica.sh
2.激活文件:参考http://note.youdao.com/share/?token=C5E955B966184057BE96D5B403D92487&gid=13266604#/
3.汉化文件:windows下的中文版


安装:

sudo sh Mathematica.sh

之后回车确认默认安装位置
激活:
在windows下运行激活程序,填入激活码即可。
汉化:
思路非常简单,就是将Mathematica10.4win版中全部的ChineseSimplified文件夹拷贝到相应目录。


我的linux版mathematica都安装在默认目录,下面列出全部命令:(下面命令为连惯的)

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/Applications/SymbolicC/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/AddOns/Applications/SymbolicC/Documentation

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/Applications/SubKernels/TextResources/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/AddOns/Applications/SubKernels/TextResources

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/Mathematica/
Applications/Parallel/Documentation/ChineseSimplified/ /usr/local/Wolfram/
Mathematica/10.4/AddOns/Applications/Parallel/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/Applications/NotebookTemplating/FrontEnd/TextResources/ /usr/local/Wolfram/
Mathematica/10.4/AddOns/Applications/NotebookTemplating/FrontEnd/TextResources

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘
/Mathematica/Applications/LightweightGridClient/TextResources/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/AddOns/Applications/LightweightGridClient/TextResources/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/Applications/LightweightGridClient/Documentation/ChineseSimplified
/usr/local/Wolfram/ Mathematica/10.4/AddOns/Applications/LightweightGridClient/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/Applications/Documentation /usr/local/Wolfram/Mathematica/10.4/AddOns/Applications/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/Applications/CompiledFunctionTools/Documentation/ChineseSimplified
/usr/local/Wolfram/ Mathematica/10.4/AddOns/Applications/CompiledFunctionTools/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/Applications/ClusterIntegration/Documentation/ChineseSimplified
/usr/local/Wolfram/ Mathematica/10.4/AddOns/Applications/ClusterIntegration/TextResources/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/Applications/ClusterIntegration/Documentation/ChineseSimplified
/usr/local/Wolfram/ Mathematica/10.4/AddOns/Applications/ClusterIntegration/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/WebServices/Documentation/ChineseSimplified
/usr/local/Wolfram/ Mathematica/10.4/SystemFiles/Links/WebServices/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/TriangleLink/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/SystemFiles/Links/TriangleLink/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/TetGenLink/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/SystemFiles/Links/TetGenLink/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/RLink/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/SystemFiles/Links/RLink/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/OpenCLLink/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/SystemFiles/Links/OpenCLLink/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/NETLink/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/SystemFiles/Links/NETLink/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/LibraryLink/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/SystemFiles/Links/LibraryLink/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/JLink/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/SystemFiles/Links/JLink/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/HTTPClient/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/SystemFiles/Links/HTTPClient/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/GPUTools/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/SystemFiles/Links/GPUTools/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/Documentation /usr/local/Wolfram/Mathematica/10.4/SystemFiles/Links/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/DatabaseLink/Documentation/ChineseSimplified
/usr/local/Wolfram/ Mathematica/10.4/SystemFiles/Links/DatabaseLink/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Links/CUDALink/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/SystemFiles/Links/CUDALink/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Kernel/
TextResources/ChineseSimplified /usr/local/Wolfram/

Mathematica/10.4/SystemFiles/Kernel/TextResources/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Components/WolframAlphaClient/FrontEnd/TextResources/ChineseSimplified /usr/
local/ Wolfram/Mathematica/10.4/SystemFiles/Components/WolframAlphaClient/FrontEnd/TextResources/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/
Mathematica/SystemFiles/Components/MUnit/FrontEnd/TextResources/ChineseSimplified
/usr/local/Wolfram/ Mathematica/10.4/SystemFiles/Components/MUnit/FrontEnd/TextResources/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/Mathematica/
SystemFiles/Components/FEMDocumentation/Documentation/ChineseSimplified /usr/local/Wolfram/
Mathematica/10.4/SystemFiles/Components/FEMDocumentation/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/Mathematica/SystemFiles/
Components/Documentation /usr/local/Wolfram/Mathematica/10.4/SystemFiles/Components/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/Mathematica/SystemFiles/
Components/CCompilerDriver/Documentation/ChineseSimplified /usr/local/Wolfram/ Mathematica/10.4/
SystemFiles/Components/CCompilerDriver/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/Mathematica/SystemFiles/
Components/CCodeGenerator/Documentation/ChineseSimplified /usr/local/Wolfram/ Mathematica/10.4/
SystemFiles/Components/CCodeGenerator/Documentation/

用户名@机器名:/media/用户名/u盘/Mathematica$ sudo cp -R /media/用户名/u盘/Mathematica/
ChineseSimplified/usr/local/Wolfram/Mathematica/10.4/Documentation/


最终效果:

Ubuntu 16.04下Mathematica 10.4的安装、汉化及删除


最后,如果需要卸载Mathematica::

如要卸载 Mathematica,需删除下列目录。请备份这些目录下任何需要保存的文件:

/usr/local/Wolfram/Mathematica/
/usr/share/Mathematica/
~/.Mathematica/Licensing/mathpass


本文永久更新地址:http://www.linuxdiyf.com/linux/21016.html