Linux系统中安装MATLAB和Mathematica

Linux系统中安装MATLAB和Mathematica。小编来告诉你更多相关信息。Linux系统中安装MATLAB和Mathematica如果想知道Linux系统中安装MATLAB和Mathematica的相关知识,

Linux系统中安装MATLAB和Mathematica。小编来告诉你更多相关信息。

Linux系统中安装MATLAB和Mathematica

如果想知道Linux系统中安装MATLAB和Mathematica的相关知识,一起来看看吧!

本文记录在新服务器安装MATLAB和Mathematica,其实就是在Linux系统下安装MATLAB和Mathematica。

注意:本文所安装的MATLAB和Mathematica为正版软件(学校已购买),所以安装是非常简单的。

MATLAB安装

官网的安装说明:

https://ww2.mathworks.cn/help/install/ug/install-products-with-internet-connection.html#bspia1_-1

# MATLAB官网:https://matlab.mathworks.com/# 下载Linux版本的MATLAB,并将其传到服务器# 解压并进入文件夹matlab_R2023b_glnxa64.zip -d matlab_R2023b_glnxa64cd matlab_R2023b_glnxa64/# 解压之后得到archives   installer_input.txt                    mathworks_installation_help_ko_KR.pdf  readme.txt  VersionInfo.xmlbin        license_agreement.txt                  mathworks_installation_help.pdf        resourcescefclient  mathworks_installation_help_es.pdf     mathworks_installation_help_zh_CN.pdf  sysinstall    mathworks_installation_help_ja_JP.pdf  matlab_R2023b_glnxa64.zip              ui# 可以看到,解压之后的“mathworks_installation_help_zh_CN.pdf”告诉我们如何安装

Linux系统中安装MATLAB和Mathematica

# 安装./install# 碰到的问题(base) [huangxl@manage MATLAB]$ ./install terminate called after throwing an instance of \'std::runtime_error\'  what():  Failed to launch web window with error: Unable to launch the MATLABWindow application. The exit code was: 261Aborted (core dumped)# 解决sudo ./install

注意:该安装需要root权限,否则可能遇到和我一样的报错!

输入sudo ./install,弹出如下界面,输入邮箱并登录即可安装!

Linux系统中安装MATLAB和Mathematica

# 配置环境变量vi ~/.bashrcexport PATH=/data/work/huangxl/software/MATLAB/matlab/bin:$PATHalias  mat=\'matlab -nodisplay\'source ~/.bashrc# 通过以上配置,在终端输入“matlab”会打开图形界面;在终端输入“mat”则不会显示 

在终端输入mat,如下图所示,没有图形界面。

Linux系统中安装MATLAB和Mathematica

在终端输入matlab,如下图所示,有图形界面,我们可以进行画图。

Linux系统中安装MATLAB和Mathematica。小编来告诉你更多相关信息。

Linux系统中安装MATLAB和Mathematica

Linux系统中安装MATLAB和Mathematica

Linux系统中安装MATLAB和Mathematica

Mathematica安装

官网的安装说明:https://support.wolfram.com/zh/12453?src=mathematica

# Mathematica官网:https://www.wolfram.com/mathematica/?source=footer# 下载Linux版本的Mathematica,并将其传到服务器# Mathematica是存放.sh安装文件的文件夹cd Mathematica/# 安装sudo bash Mathematica_13.3.1_BNDL_LINUX_CN.sh

安装时看清楚界面信息,一步步进行即可。

Linux系统中安装MATLAB和Mathematica

Linux系统中安装MATLAB和Mathematica。小编来告诉你更多相关信息。

Linux系统中安装MATLAB和Mathematica

Linux系统中安装MATLAB和Mathematica

我的完整安装界面如下

Wolfram Mathematica 13.3.1 for LINUX Installer ArchiveVerifying archive integrity. Extracting installer. ...........................................................-------------------------------------------------------------------------------------------------------------------------                                          Wolfram Mathematica 13.3 Installer -------------------------------------------------------------------------------------------------------------------------Copyright (c) 1988-2023 Wolfram Research, Inc. All rights reserved.WARNING: Wolfram Mathematica is protected by copyright law and international treaties. Unauthorized reproductionor distribution may result in severe civil and criminal penalties and will be prosecuted to the maximum extentpossible under law.Enter the installation directory, or press ENTER to select /usr/local/Wolfram/Mathematica/13.3:> /data/work/huangxl/software/Mathematica/mathematicaNow installing...[**********************************************************************************************************************]Type the directory path in which the Wolfram Mathematica script(s) will be created, or press ENTER to select/usr/local/bin:> /data/work/huangxl/software/Mathematica/mathematicaWolframScript allows Wolfram Language code to be run from the command line and from self-executing script files. Itis always available from /data/work/huangxl/software/Mathematica/mathematica/Executables/wolframscript. WolframScriptsystem integration makes the wolframscript binary accessible from any terminal, and allows .wls script files to beexecuted by double-clicking them in the file manager.Install WolframScript system integration? (y/n)> y--------------------------------------------------------------------------------          Wolfram Language 13.3 English Documentation 13.3 Installer --------------------------------------------------------------------------------Copyright (c) 1988-2023 Wolfram Research, Inc. All rights reserved.WARNING: Wolfram Language 13.3 English Documentation is protected by copyrightlaw and international treaties. Unauthorized reproduction or distributionmay result in severe civil and criminal penalties and will be prosecuted tothe maximum extent possible under law.All users of this computer will be able to use this software.YNow installing...[*****************************************************************************]Installation complete.
# 配置环境变量vi ~/.bashrcexport PATH=/data/work/huangxl/software/Mathematica/mathematica:$PATHsource ~/.bashrc# 通过以上配置,在终端输入“mathematica”会打开图形界面;在终端输入“wolfram”则不会显示 

在终端输入wolfram,如下图所示,没有图形界面。

Linux系统中安装MATLAB和Mathematica

在终端输入mathematica,如下图所示,有图形界面,我们可以进行画图。

Linux系统中安装MATLAB和Mathematica

以上是网关于Linux系统中安装MATLAB和Mathematica的IT小经验,希望能为您在生活中带来帮助!

本文内容由互联网用户自发贡献,该文观点仅代表作者本人。如发现本站有涉嫌抄袭侵权/违法违规的内容,请发送邮件至 5733401@qq.com 举报,一经查实,本站将立刻删除。本文链接:https://www.fajihao.com/i/257395.html

(0)
汤卡西的头像汤卡西
上一篇 2023-11-11
下一篇 2023-11-11

相关推荐