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中一些大牛的回答。
解决方案一:
- 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.
Linux下安装MATLAB的更多相关文章
- Linux下安装MATLAB的一些注意事项
1,下载matlab的linux版本. matlab2012a的种子文件, Matlab_Unix_2012a.torrent 我是在window机子上下载了MATLAB的Linux版本. 2,把MA ...
- Linux 下安装 MATLAB
MATLAB是美国MathWorks公司出品的商业数学软件,主要用于算法开发.数据可视化.数据分析以及数值计算的高级技术计算语言和交互式环境,是一款优秀而又强大的数学软件. 本文基于 Deepin 1 ...
- (转)Linux下安装Matlab2014及破解
原文链接:http://blog.csdn.net/lanbing510/article/details/41698285 文章已搬家至http://lanbing510.info/2014/12/0 ...
- Linux下使用matlab在后台默默的运行.m文件(无界面形式)
Linux下使用matlab在后台默默的运行.m文件(无界面形式)本主在Ubuntu18.04LTS上已经安装了matlab直接运行Matlab$ matlab会启动 matlab,出现启动界面但想要 ...
- Linux下安装 Posgresql 并设置基本参数
在Linux下安装Postgresql有二进制格式安装和源码安装两种安装方式,这里用的是二进制格式安装.各个版本的Linux都内置了Postgresql,所以可直接通过命令行安装便可.本文用的是Cen ...
- Linux下安装Tomcat服务器和部署Web应用
一.上传Tomcat服务器
- Linux下安装使用Solr
Linux下安装使用Solr 1.首先下载Solr.mmseg4j分词包.tomcat并解压,这用google.百度都可以搜索得到下载地址. 2.因为要使用到中文分词,所以要设置编码,进入tomcat ...
- Linux下安装tar.gz类型的jdk,并配置环境变量
近期因要学习一门技术,必须在Linux下运行,故开始学习如何使用Linux. 在安装jdk时出现了困难,环境变量配置不成功,花了一天时间才搞定,特分享出来,供大家参考. Linux下安装jdk,步骤如 ...
- Linux下安装和配置JDK与Tomcat(升级版)
在这个版本 Linux下安装和配置JDK与Tomcat(入门版) 的基础上优化升级 1.下载相关软件 apache-tomcat-6.0.37.tar.gz jdk-6u25-linux-i586-r ...
随机推荐
- Learn Rails5.2-- rails base(含官方指导Debugging 摘录)
豆知识扩展: <meta> https://www.cnblogs.com/chentianwei/p/9183799.html css selector div > p 选择所有 ...
- ASP.NET ValidationSummary 控件
ASP.NET ValidationSummary 控件 Validation 服务器控件 定义和用法 ValidationSummary 控件用于在网页.消息框或在这两者中内联显示所有验证错误的摘要 ...
- IOS-高仿bilibili项目
高仿bilibili项目成长之路 (logo) 高仿bilibili项目 Github链接:(https://github.com/MichaelHuyp/Bilibili_Wuxianda) 目前完 ...
- python批量给云主机配置安全组
python批量给云主机配置安全组 用公有云的思路去思考去实现一个安全稳定.可伸缩和经济的业务构架,云运维是有别与传统运维的,比如说了解公有云的都知道安全组的概念,安全组跟防火墙功能很相似,那我的机器 ...
- SpringMvc中@ModelAttribute注解的使用
一.绑定请求参数到指定对象 public String test1(@ModelAttribute("user") UserModel user) 只是此处多了一个注解@Model ...
- 多线程pre
body, table{font-family: 微软雅黑; font-size: 13.5pt} table{border-collapse: collapse; border: solid gra ...
- cn_office_Professional_Plus_2010_vol_with_sp2-【x86+x64仅2.45GB】
用官方sp2补丁在cn_office_Professional_Plus_2010_vol基础上集成,无其他任何添加及修改! 文件: cn_office_Professional_Plus_2010_ ...
- win10下安装MySQL5.7.20
1. 下载Mysql官方:http://www.mysql.com→downloads→选社区版本MySQL Community Edition(GPL)→点击Community(GPL)Downlo ...
- opencv之读取pts文件
#include <iostream> #include <fstream> #include <opencv2/opencv.hpp> using namespa ...
- Python的安装和使用ubuntu下
ubuntu下Python的安装和使用 https://www.cnblogs.com/luckyalan/p/6703590.html ubuntu下Python的安装和使用 1 文章介绍 本文介绍 ...