matlab dng,Linux下安装MATLAB

Why do I see "Preparing installation files ... Installing ... Finished..." in the terminal window when running the Installer on Linux, but MATLAB is not installed?

出现问题如下:

When running the Installer on Linux, I see the below in terminal:

Preparing installation files ...

Installing ...

Finished.

However, the installer does not launch and MATLAB is not installed.

本文摘取mathworks中一些大牛的回答。

解决方案一:

1 This issue can be due to several different issues. The most common causes are:2

3 One or more of the binaries required for installation inside the MATLAB installation folder does nothave execute permissions4 Launching the installer without an X11 display configured5 The user that is launching the installer is notable to display windows on this X11 display6 Libraries required forthe MATLAB installer are missing7 Issue #1: One or more of the binaries required for installation inside the MATLAB installation folder does not have execute permissions

8

9 To resolve this issue, grant execute permission to the entire MATLAB installer folder by running this command fromthe folder which contains the installer folder:10

11 sudo chmod -R 777matlab_R20XXx_glnxa6412 ​You must be part of the sudoers/wheel group to run this command and will be prompted for your password. We do notrecommend installing as root.13

14 Issue #2: Launching the installer without an X11 display configured

15

16 Launching the MATLAB installer on a machine without an X11 display will fail unless you configure the installer to run silently. To install MATLAB without an X11 display, see the below related article:17

18 How do I use the Silent Installer forMATLAB?19

20 http://www.mathworks.com/matlabcentral/answers/98137

21

22 Issue #3: The user that is launching the installer is not able to display windows on this X11 display

23

24 This issue often occurs when launching the installer as root. See the below formore information:25

26 Why can't I install MATLAB with the root account in Linux when the installer works for my user account?

27

28 http://www.mathworks.com/matlabcentral/answers/133944

29

30 Issue #4: Libraries required for the MATLAB installer are missing

31

32 MATLAB is fully supported on Desktop installation of Linux. It is not supported on minimal or server distributions. A minimal installation may notcontain all libraries that MATLAB requires.33

34 Even if you intend to run MATLAB only in non-graphical mode, MATLAB requires some X11 libraries to run. Unfortunately, we are notable to specify the X11 requirements down to the exact set of packages required because different distributions may package the libraries differently. MATLAB will work out of the box on desktop installations of any supported distribution.35

36 See the below fora list of qualified distributions:37

38 http://www.mathworks.com/support/sysreq/current_release/index.html?sec=linux

解决方案二:

1 I had the same issue when installing on a remote server. The splash screen would briefly appear, and then abruptly be 'finished'.2

3 Turns out there was some missing packages required forX11, even though the splash screen was displayed remotely (however briefly). I resolved this by installing xterm, which caused the missing packages to be installed also:4

5 $ sudo apt-get install xterm6 $ xterm7 If xterm produces an X window ok, then the matlab installer should now work.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值