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 Comments

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

Sign in to comment.

Answers (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.

Categories

Asked:

on 23 Nov 2017

Commented:

on 6 Mar 2020

Community Treasure Hunt

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

Start Hunting!