如何通过 ISO 安装 MATLAB?

如何通过 ISO 安装 MATLAB?

我正在尝试将 MATLAB R2010b 安装到 Ubuntu 12.04。我有 ISO 文件。首先,我将其复制到我的电脑,然后将其提取。现在似乎我应该运行安装脚本。但我做不到。

这是安装脚本的开头,如果它不是脚本并且我做错了什么,请给你一个意见:

#!/bin/sh
#
# Name:
#    install -  script file for invoking the Multi-platform installer on Linux.
#
#    Usage: install [-h|help]"
#                              [-javadir <directory>] | [-root <directory>] |"
#                              [-test] | [-v|-verbose]"
#                              -h|-help        - Display arguments."
#                              -test           - Don't actually run the java
#                                                command (only useful with -v)."
#                              -v|-verbose     - Display settings."
#                              -javadir <directory>       - Override default java     root directory."
#                              -root <directory>          - Override default DVD root directory."
#
#              The default settings when no override inputs are supplied are: "
#              -root = <directory containing this script>/../"
#              -javadir = <root>/java/jre/$ARCH/jre'
#
#
# Copyright 2009-2010 The MathWorks, Inc.

我该如何运行这个脚本?我尝试将其重命名为 install.sh,然后尝试

 $ ./install.sh

从命令窗口,但我收到以下错误:

root@ghostrider:/home/zero/Downloads/R2010b_UNIX# ./install.sh 
Preparing installation files ...
Installing ...
./install.sh: line 562: /tmp/mathworks_7799/java/jre/glnx86/jre/bin/java: Permission     denied
Finished

我做错了什么吗?你能帮帮我吗?

问候

答案1

假设图像名为R2015b_glnxa64.iso,只需挂载 ISO:

sudo mkdir -p /media/iso
sudo mount -o ro,loop ./R2015b_glnxa64.iso /media/iso

运行安装脚本:

sudo /media/iso/install

最后卸载图像:

sudo umount /media/iso

答案2

您需要授予可执行权限sys/java/jre/glnx86/jre/bin/java

答案3

您需要挂载 ISO,然后根据设置说明进行安装:

相关内容