zoukankan      html  css  js  c++  java
  • 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 not have execute permissions
     4 Launching the installer without an X11 display configured
     5 The user that is launching the installer is not able to display windows on this X11 display
     6 Libraries required for the MATLAB installer are missing
     7 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 from the folder which contains the installer folder:
    10 
    11 sudo chmod -R 777 matlab_R20XXx_glnxa64 
    12 ​You must be part of the sudoers/wheel group to run this command and will be prompted for your password. We do not recommend 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 for MATLAB?
    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 for more 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 not contain 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 not able 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 for a 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 for X11, 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 xterm
    6 $ xterm
    7 If xterm produces an X window ok, then the matlab installer should now work.
  • 相关阅读:
    mysql连接error,Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection .....
    ng-model绑定的是ng-option中的什么?
    js的原型prototype究竟是什么?
    git给log设置别名来快速查看友好的log信息
    git常见使用场景总结
    $http设置headers来实现IE不缓存url请求的资源
    给sublime设置格式化代码的快捷键
    HTTP权威指南 ·
    《编写高质量代码:Web 前端开发修炼之道》 笔记与读后感
    怎么删除git本地分支以及Bitbucket的远程分支?
  • 原文地址:https://www.cnblogs.com/wt869054461/p/9046300.html
Copyright © 2011-2022 走看看