Matlab prompt is not opening when Trying to install matlab 2021b in ubuntu 20.04
Show older comments
Trying to install matlab in ubuntu 20.04, but after running the command sudo./install.sh, nothing shows up. Not able to understand why the prompt of matlab isnt showing up
19 Comments
Walter Roberson
on 25 Sep 2021
I have seen two other people report the same difficulty, one for the same release as you, and the other person was using Parrot OS, if I recall correctly.
kondamu manjunath
on 25 Sep 2021
Walter Roberson
on 25 Sep 2021
Edited: Walter Roberson
on 25 Sep 2021
Sorry I have not seen any solutions yet
kondamu manjunath
on 25 Sep 2021
kondamu manjunath
on 25 Sep 2021
kondamu manjunath
on 25 Sep 2021
Marcus Hopfer
on 29 Sep 2021
Doesn't work for (X)ubunto 20.04 ... ´cause you can't do su export ....
There is only sudo available.
Marcus Hopfer
on 29 Sep 2021
xhost +SI:localuser:root
finally worked for me :-)
Angelo Barboni
on 29 Sep 2021
xhost +SI:localuser:root
before running the install script as super user.
Danny da Costa
on 3 Nov 2021
This solved it!!! Finally :)
Sanjan I S
on 4 Nov 2021
xhost +SI:localuser:root
Finally......
Tyler Presser
on 4 Nov 2021
Same problem here, nothing happens when I run ./install
Aryeh Weiss
on 8 Nov 2021
The problem is that it will not rum in sudo, and as a regular user it cannot use the default directories
Benjamin Cham
on 11 Nov 2021
xhost +SI:localuser:root
This fixed it, thanks a lot!
Brian
on 25 Jan 2022
and what if i wish to install matlab without a display/x server?
Temitayo Oyedokun
on 25 Jan 2022
xhost +SI:localuser:root
This solve the issue for me too.
Thanks.
Santeri Hautala
on 4 Feb 2022
Thanks for helping, it took about 2 hours to to get it installed and found that your comment about xhost helped me a ton.
Giulia Cuomo
on 23 Feb 2022
had the same issue,
xhost +SI:localuser:root
worked for me as well. Thanks!!
Wojciech Jamrozik
on 27 Mar 2022
Great! Finally I have Matlab on my Ubuntu :)
Accepted Answer
More Answers (2)
Arwel
on 19 Jan 2022
1 vote
I can report also worked on RedHat 8..
Nils Jan Fredrik Fryklund
on 21 Jan 2022
0 votes
Works on Ubuntu 20.04.3
1 Comment
Jaime Valencia
on 13 Mar 2023
How do you make it works?
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!