• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Linux下安装MATLAB

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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.

 


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Delphi2010 暂时请不要打 Update1 补丁发布时间:2022-07-18
下一篇:
Delphi中TStringList类常用属性方法详解发布时间:2022-07-18
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap