0

I am trying to install matlab in Ubuntu but getting this error:

Access Denied Unable to write to /usr/local/MATLAB/R2017a/
d a i s y
  • 5,551

2 Answers2

3

You need to have the root privilege in order to write or edit a file in any directory in /usr/local/. The mentioned error occurs because you do not have root privilege and you are trying to install it in a directory other than your home folder.

A quick solution is to install MATLAB on your home directory.

terdon
  • 104,119
Unique
  • 175
  • 3
  • 5
  • 13
0

Try sudo ./install from the folder containing the installation file. It worked for me.

Naveen
  • 103