Installing Matlab 2020b on Azure Ubuntu 18.04 Virtual Machine

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)

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

Products

Release

R2020b

Asked:

on 17 Aug 2021

Answered:

on 18 Aug 2021

Community Treasure Hunt

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

Start Hunting!