如何安装MATLAB R2012a?

梅迪

我已经下载了用于Unix平台的MATLAB R2012a,并且希望将其安装在我的ubuntu 11.10上。要安装我尝试此命令:

/<matlab_installation_file_directory>/install

它说:

install: missing file operand

根据它的手册,我必须给它一个输入文件,因此我创建了一个这样的输入文件,以“独立”模式安装:

destinationFolder = usr / local / R2012a

fileInstallationKey = xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

AgreementToLicense =是

outputFile = / tmp / mathworks_usr.log

模式=互动

activationPropertiesFile = home /.../ lic_standalone.dat

准确地说,我不确定在“ activationPropertiesFile”字段中需要什么文件,因此我认为它需要许可证文件。我将此文件以txt格式保存在与安装文件相同的目录中。

然后我尝试了以下命令:

install -inputFile my_input_file.txt

它得到这个错误:

install: invalid option -- 'i'

我知道在其他网站上有一些帮助,并且在这里也有关于此主题的一些问题,但是我不知道出了什么问题,请帮助我,我是linux上的真正菜鸟。

感谢大伙们

更新:

在安装文件的属性中,我检查了“允许以程序身份执行文件”项,现在是这样的: 安装属性

之后,我可以通过单击它或在终端中键入./install来运行安装文件但是通过两种方式我都得到了这一点:

Preparing installation files ...
Installing ...
eval: 1: /tmp/mathworks_xxxx/sys/java/jre/glnx86/jre/bin/java: Permission denied
Finished

第三行中的xxxx每次都是一个随机数,例如6370或5310 ...。为什么我没有许可?我该怎么办?

更新:

使用Mahesh帮助,我尝试了以下命令:

sudo chmod +x ./install
sudo ./install -v

结果是:

Preparing installation files ...
->  DVD                 = /home/mehdi/qBT_dir/Matlab_Unix_2012a/ml2012au
->  ARCH                = glnx86
->  DISPLAY             = :0.0
->  TESTONLY            = 0
->  JRE_LOC             = /tmp/mathworks_6114/sys/java/jre/glnx86/jre
->  LD_LIBRARY_PATH     = /tmp/mathworks_6114/bin/glnx86
 
Command to run:
/tmp/mathworks_6114/sys/java/jre/glnx86/jre/bin/java  -splash:"/home/mehdi/qBT_dir/Matlab_Unix_2012a/ml2012au/java/splash.png" -Djava.ext.dirs=/tmp/mathworks_6114/sys/java/jre/glnx86/jre/lib/ext:/tmp/mathworks_6114/java/jar:/tmp/mathworks_6114/java/jarext:/tmp/mathworks_6114/java/jarext/axis2/:/tmp/mathworks_6114/java/jarext/guice/:/tmp/mathworks_6114/java/jarext/webservices/ com/mathworks/professionalinstaller/Launcher -root "/home/mehdi/qBT_dir/Matlab_Unix_2012a/ml2012au" -tmpdir "/tmp/mathworks_6114" 
 
Installing ...
eval: 1: /tmp/mathworks_6114/sys/java/jre/glnx86/jre/bin/java: Permission denied
Finished

更新:

最后要做的是进入/ matlab-install-files / sys / java / jre / glnx86 / jre / bin / java和:

sudo chmod +x ./java

然后返回安装文件目录并通过以下方式运行install:

./install

或者

sudo ./install

它会工作:-)

Thank you all specially "Mahesh" and "John"

Mahesh

Something's wrong here. I've installed Matlab R2012a, and the install file does not require any input file.

This should work.

Command line way.

  • Open Terminal
  • cd into Matlab directory ( which has the install file and is shown in your screenshot)
  • sudo chmod +x ./install
  • sudo ./install
  • This will open a window, from where you will be able to proceed yourself.

GUI way:

  • type alt+F2. this opens the run dialog
  • type gksudo nautilus and hit enter
  • open the Matlab directory (as shown in your screenshot)
  • check if install file has execute permissions (as in your screenshot)
  • Double click install. You will get a window asking you wether to display or run.
  • Click on Run
  • you should be able to find your way from here. this opens a window with necessary instructions.

如您所见,命令行方式更简单,更安全。

保证可以正常工作。就像您所知道的那样,您知道,在执行安装时,/usr/bin/install必须已经执行了问题。它可能是抱怨缺少文件操作数的对象。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

如何安装MATLAB R2012a?

来自分类Dev

在MATLAB R2012a中安装Matlab应用

来自分类Dev

XLSREAD无法在Ubuntu 12.10中的MATLAB R2012a中读取文件?

来自分类Dev

MATLAB-保留不同图形之间的子图(已解决,但在R2012a版本上可能有问题)

来自分类Dev

寻找与“ R2012a”标志相对应的“未来行为”

来自分类Dev

fmincon的实现在R2012a和R2014a中是否有所不同?

来自分类Dev

如何启动MATLAB 2012?

来自分类Dev

Matlab 2012a安装Ubuntu 12.02问题

来自分类Dev

如何在基于Arch的发行版上安装Matlab R2020a

来自分类Dev

在MATLAB R2014a上安装LibLinear

来自分类Dev

在MATLAB R2014a上安装LibLinear

来自分类Dev

安装Matlab R2017b:无法打开Matlab

来自分类Dev

如何使用InstallShield在Windows Server 2012 R2上安装IIS

来自分类Dev

如何使用InstallShield在Windows Server 2012 R2上安装IIS

来自分类Dev

如何在Matlab R2012b中的情节中获取斯堪的纳维亚字母ä和ö

来自分类Dev

如何安装最新的TeX Live 2012?

来自分类Dev

如何安装最新的TeX Live 2012?

来自分类Dev

SQL PowerShell Cmdlet 如何安装 Server 2012

来自分类Dev

如何从Mathworks网站安装Matlab?

来自分类Dev

如何通过ISO安装MATLAB?

来自分类Dev

如何通过ISO安装MATLAB?

来自分类Dev

将Liferay安装为Windows 2012R2服务

来自分类Dev

无法在Windows Server 2012 R2上安装phpmyadmin

来自分类Dev

Matlab R2012b中矩阵乘法的精度问题

来自分类Dev

MATLAB R2015b 64位安装问题

来自分类Dev

在Ubuntu 15.10上安装MatLab R2015a

来自分类Dev

在离线 Windows 上为 Matlab R2018a 安装 MinGW

来自分类Dev

如何安装64位SQL Server Management Studio 2012?

来自分类Dev

如何在Server 2012上安装Windows Defender / MSE?

Related 相关文章

热门标签

归档