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中一些大牛的回答。

解决方案一:

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

 One or more of the binaries required for installation inside the MATLAB installation folder does not have execute permissions
Launching the installer without an X11 display configured
The user that is launching the installer is not able to display windows on this X11 display
Libraries required for the MATLAB installer are missing
Issue #1: One or more of the binaries required for installation inside the MATLAB installation folder does not have execute permissions 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: sudo chmod -R 777 matlab_R20XXx_glnxa64
​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. Issue #2: Launching the installer without an X11 display configured 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: How do I use the Silent Installer for MATLAB? http://www.mathworks.com/matlabcentral/answers/98137 Issue #3: The user that is launching the installer is not able to display windows on this X11 display This issue often occurs when launching the installer as root. See the below for more information: Why can't I install MATLAB with the root account in Linux when the installer works for my user account? http://www.mathworks.com/matlabcentral/answers/133944 Issue #4: Libraries required for the MATLAB installer are missing 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. 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. See the below for a list of qualified distributions: http://www.mathworks.com/support/sysreq/current_release/index.html?sec=linux

解决方案二:

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

 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:

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

最新文章

  1. java-并发-保护代码块
  2. Java中的内部类(回调)
  3. 获取CentOS系统详情的九个uname命令实例
  4. 教程-Close、Halt、terminate、ExitProcess的区别
  5. Linux进程间通信IPC学习笔记之同步二(Posix 信号量)
  6. 【C语言】编写一个函数实现n^k,使用递归实现
  7. 导入外部jar包的方法
  8. 简单学c——前言
  9. modelsim遇到的问题(更新)
  10. Windows通用应用平台
  11. android 缩放平移自定义View 显示图片
  12. open函数新建文件报错
  13. 20155229《网络对抗技术》Exp8:Web基础
  14. wpf z
  15. 利用 FormData 对象发送 Key/Value 对的异步请求
  16. Oracle 表空间查询与操作方法
  17. mysql 数据库或者表空间使用查询
  18. photoshop cc 2014 下载安装及汉化资源及切图简要使用教程
  19. mysql触发器小实验
  20. The Model represents your data structures.

热门文章

  1. 雷林鹏分享:Ruby 面向对象
  2. IOS-5个可以帮你优化App的优秀网站
  3. 【Scipy】初步认识
  4. LINUX 操作记录到syslog,并发送到syslog服务器上
  5. 关闭定时器(setTimeout/clearTimeout|setInterval/clearInterval)
  6. PostgreSQL truncate table会释放索引的空间
  7. kvm虚拟机添加网卡
  8. tornado框架的get方法传递参数
  9. vue url生产二维码
  10. linux命令-定时任务at