Installing Matlab 2022b on Ubuntu 22.04

Good morning,
trying to install matlab 2022b on Ubuntu 22.04 but at the moment of selection of installing folder the installation pop-up window immediately get closed when try to modify the destination folder path. If i continue with the default path this red flag appears "Failed to create destination folder /usr/local/MATLAB/R2022b. Specify a different fodler". Also cannot modify by hands the path. Attached the incriminated step.
Thanks to everyone who can help me!
Daniele

댓글 수: 3

Nikhil
Nikhil 2023년 2월 21일
편집: Nikhil 2023년 2월 21일
Hi Daniele, since the folder is under /usr/local . I think you need to run it with adminstrative rights.
Check this link where people had similar issue and were able to fix it.
In the link ,there are different conversations. Check them out as well.
I tried all the hints in that thread but the installing process is blocking at the step in the pic
sudo ./install -mode silent -agreeToLicense yes
xhost +SI:localuser:root
sudo ./install
Same issue for both codes
James
James 2023년 2월 28일
편집: James 2023년 2월 28일
-mode silent doesn't even work for R2022b IIRC.
You shouldn't be running any GUI program as root but if you must, move the installation folder to /opt/ if the xhost commands aren't working.
Also, try using MATLAB Package Manager.

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

답변 (1개)

James
James 2023년 2월 21일

0 개 추천

There are few things you can do:
  1. Create the directory yourself and give the normal Linux user write-permissions to /usr/local/MATLAB
  2. Install it elsewhere, such as /opt, assuming you have permissions to do so
  3. Run the installer as root, although running a GUI as root is generally discouraged in the Linux community

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2023년 2월 20일

편집:

2023년 2월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by