How to install MATLAB 2017a to Ubuntu 16.04?

20 次查看(过去 30 天)
Hello! I have tried to install the latest version of Matlab to my professor's old linux machine which uses ubuntu and I am having a lot of difficulty. I have already downloaded the install package in the computer. I have looked up how to install it and have seen many "sudo" commands but am always told "Permission denied" when I try the other variations like what is shown below. As someone with very limited knowledge of ubuntu, how do I solve this issue and download this program. I would appreciate a timely response as it is important to use MATLAB in our research. Thank you.
sudo ./install
chmod +x ./install
sudo chmod +x ./install
  3 个评论
Alex Medeiros
Alex Medeiros 2017-10-18
We have reached the point where we get:
dan@wild:~/Downloads/matlab_R2017a_unix64$ sudo ./install -v -inputFile activate2.ini
[sudo] password for dan:
Preparing installation files ...
-> DVD = /home/dan/Downloads/matlab_R2017a_unix64
-> ARCH = glnxa64
-> DISPLAY = :0
-> TESTONLY = 0
-> JRE_LOC = /tmp/mathworks_3451/sys/java/jre/glnxa64/jre
-> LD_LIBRARY_PATH = /tmp/mathworks_3451/bin/glnxa64
Command to run:
"/tmp/mathworks_3451/sys/java/jre/glnxa64/jre/bin/java" -Xmx512m -cp /tmp/mathworks_3451/java/config/professionalinstaller/pathlist.jar com/mathworks/professionalinstaller/Launcher -root "/home/dan/Downloads/matlab_R2017a_unix64" -libdir "/tmp/mathworks_3451" "-inputFile" "activate2.ini"
Installing ...
Finished
dan@wild:~/Downloads/matlab_R2017a_unix64$
Although this is progress, no dialogue box showed and the program is not downloaded on the computer. I have found online that "java" may be the issue. Do you have any suggestions as to what may be the problem and how to solve it? Thank you!
Alex Medeiros
Alex Medeiros 2017-10-18
Just figured out the problem! Tried:
sudo chmod +x ./java
from the /home/dan/Downloads/matlab_R2017a_unix64/sys/java/jre/glnxa64/jre/java folder
Then reran the installation using again:
sudo ./install

请先登录,再进行评论。

回答(2 个)

Bapi Saha
Bapi Saha 2017-11-21
I also have the same problem , but no one has guided me in proper way . Very disappointing !

Rajul K Gajjar
Rajul K Gajjar 2018-8-19
Hi,
I am on Ubuntu 16.04 LTS 64bit.
Installed Matlab 2018a, with individual licence login credential provided by the university.
Installation went smooth, activated product using login credentials.
But, when I start matlab by typing $ matlab in the terminal, the matlab screen remains there forever. It is not entering into command line and workspace...
Update JAVA installation updated the stdc++. But, nothing works.
Please help.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by