Installing Matlab 2020b on Azure Ubuntu 18.04 Virtual Machine

8 views (last 30 days)
I am trying to install Matlab 2020b on Azure Ubuntu VM but getting following error while executing
sudo ./install
Error Message
terminate called after throwing an instance of '(anonymous namespace)::DisplayError'
what(): No display available.
Aborted (core dumped)
How should I get away from this error. Thanks in Advance

Answers (1)

Kojiro Saito
Kojiro Saito on 18 Aug 2021
This Answer may help you.
You don't need to install with sudo.
Just
./install
with user (non-root) account.
You may need to create a directory before and change folder permissions if sudo needed.
sudo mkdir /usr/local/MATLAB/R2020b -p
sudo chmod 777 /usr/local/MATLAB/R2020b
For reference, it's easier to create MATLAB pre-installed instances by templates.
And also, from R2020a, you can use Azure Marketplace

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!