Why does the MATLAB R2018b Update 2 installer fail on Linux and macOS?

조회 수: 53 (최근 30일)
Why does the MATLAB R2018b Update 2 installer fail on Linux and macOS?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 6월 26일
편집: MathWorks Support Team 2023년 6월 26일
If MATLAB was installed as root/admin, but the update installation is attempted on an account without root permissions, the update installer will fail.
  • No error/failure message will be displayed on the user interface. The installation log file will show "pathdef.m timestamp update failed" indicating the update has failed.
  • MATLAB will not be modified during this process.
  • If you have root access, you do not need to uninstall MATLAB. Instead, try the update again as root.
  • MATLAB itself should not be launched as root. Instead, the update executable should be launched as root to initiate the update.
  • The update executable "update_installer" can be found in [matlabroot]/bin/glnxa64. In a default installation, this would be in /usr/local/MATLAB/R2018b/bin/glnxa64/
For instructions on where to find the installation log file to verify the update installation status, please refer to the article listed below: 
Where are the MATLAB Installation and Activation log files located?
  댓글 수: 1
Walter Roberson
Walter Roberson 2021년 8월 10일
"log in to an account with root permissions" and "use sudo" are close to equivalent in Linux, so I do not undertand the disparaging of the official answer ??

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

추가 답변 (1개)

Tianyi Wang
Tianyi Wang 2020년 3월 17일
If your system is Ubuntu and matlab version is R2019b, then you could do:
sudo ./usr/local/MATLAB/R2019b/bin/glnxa64/update_installer

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by