Problem with installing Matlab R2017b on Ubuntu

I have a fresh ubuntu-gnome and I tried to install Matlab R2017b downloaded today (23/11/2017) from the official website. When I run the command
sudo ./install
the installer window doesn't start and I get only the following message
Preparing installation files ...
Installing ...
Finished
If I run
./install
without sudo the installer window starts but (of course) I can't write on /usr/local.
Can you help me with this?

3 个评论

I had the exact same problem, and found a working solution here (it's the answer by Algebreaker).
Thank you so much - I spent the morning banging my head against the wall

请先登录,再进行评论。

回答(1 个)

You probably are running a Wayland session. You can verify this by typing the following in your terminal.
echo $XDG_SESSION_TYPE
Matlab doesn't work in Wayland. You should login into Ubuntu with an X11 session. Matlab installer should work just fine.

类别

在 帮助中心 和 File 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