Installer hang when installing Matlab R2021b as root on Ubuntu 20.04

118 ビュー (過去 30 日間)
Steph Bredenhann
Steph Bredenhann 2021 年 9 月 24 日
コメント済み: Daniel Brennan 2023 年 11 月 12 日
My operating system is Ubuntu 20.04 LTS. I must install Matalb as root, and always have done. This is historic as all specialist programs are installed in /opt.
I have now downloaded MATLAB R2021b and the Installer hang when installing Matlab R2021b as root on Ubuntu 20.04, the command sudo ./install just hangs with a blinking cursor, no Matlab install GUI is displayed.
As first attempted solution I have created a MATLAB/R2021b folder in /opt, that did not help.
I have also tried to install R2021b normally with defaults but although now I progress nicely to the Matlab GUI, but the default location /usr/local/MATLAB/R2021b cannot created/located and then I have to aboard.
I have always had to install MATLAB as root.
Any advice on getting the MATLAB install GUI to display on Ubuntu R2021b will be appreciated.
Thank you
  16 件のコメント
Henrik Grythe
Henrik Grythe 2023 年 1 月 26 日
file looks like its there:
Favia
Favia 2023 年 5 月 3 日
Hey guys! After I did the solution given by Step, I still get a message that says not found. Any solution for that?

サインインしてコメントする。

採用された回答

El'ad Gips
El'ad Gips 2021 年 9 月 30 日
this tip:
(run the command : xhost +SI:localuser:root)
and after
sudo ./install
worked for me (matlab 21b and ubuntu 20.04)
  20 件のコメント
Tiago
Tiago 2022 年 7 月 19 日
Thank you! It works for me in Ubuntu 20.04.4 LTS and Matlab R2022a.
Adnan
Adnan 2022 年 9 月 14 日
編集済み: Adnan 2022 年 9 月 14 日
For anyone wondering what's going on: Askubuntu xserver

サインインしてコメントする。

その他の回答 (2 件)

Atefeh Fazel Najafabadi
Atefeh Fazel Najafabadi 2021 年 12 月 7 日
worked for me on Ubuntu 18.04

Daniel Brennan
Daniel Brennan 2023 年 11 月 12 日
編集済み: Daniel Brennan 2023 年 11 月 12 日
I encountered the same problem with the installer hanging and unresponsive on a gentoo variant linux OS. For me the problem was related to incompatibilities with the system installed libsqlite3.so.0 library.
I discovered the problem by manually running the <installer_dir>/bin/glnxa64/MATLABWindow in a terminal. Running MATLABWindow manually resulted in the following error message echoed in the terminal:
libsqlite3.so.0: Undefined Symbol: ubrk_open
This error is due to an incompatibility with the system libsqlite3.so.0 library support for icu (Internationalization Components for Unicode) and the Matlab installer. The matlab installer apparently requires dev-libs/icu v69 or later. My system has v67.
The solution is to force the installer to use Matlab's builtin libicu support. For a source based distro simply recompile sqllite without icu support. On a binary distro, you may be able to temproarily remove the executable bit (chmod -x) on the icu libs in your system library directory, install matlab, and then restore the executable bit back on the icu libs after installation.
  1 件のコメント
Daniel Brennan
Daniel Brennan 2023 年 11 月 12 日
Running:
ldd <installer-dir>/bin/glnxa64/MATLABWindow
will identify what shared libraries are being used and help identify any problematic libraries.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction 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