How to install MATLAB 2017a to Ubuntu 16.04?

조회 수: 4 (최근 30일)
Alex Medeiros
Alex Medeiros 2017년 10월 11일
답변: Rajul K Gajjar 2018년 8월 19일
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 !
  댓글 수: 1
Qiuyang Xu
Qiuyang Xu 2018년 4월 12일
편집: Walter Roberson 2018년 4월 12일
sudo chmod 777 * -R
sudo sh ./install

댓글을 달려면 로그인하십시오.


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