./install in terminal gives error "sudo: ./install: command not found"

18 views (last 30 days)
I want to install Matlab in Ubuntu. I downloaded the latest version of matlab software, unziped, In the terminal chaged the current directory to the file where i extracted the matlab installation file. I tried the command " sudo ./install" it gives following error "sudo: ./install: command not found" I also observed, there is no file name install in the installation folder
  7 Comments
Walter Roberson
Walter Roberson on 30 Sep 2019
If ./install exists in your current directory, and you are using Linux, but sudo ./install says that the command is not found, then you might be accessing a filesystem that has the no-execute flag set. In that case you can try
sudo sh ./install

Sign in to comment.

Answers (1)

Riadus Salehin
Riadus Salehin on 15 Feb 2021
it says 'sh: 0: Can't open ./install'
  10 Comments
Walter Roberson
Walter Roberson on 18 Feb 2021
Could still be -noexec problem or needs
sudo chmod -r ugo+x .
The final period is part of the command
Patrice Gaofei
Patrice Gaofei on 19 Feb 2021
Dear Mr. @Walter Roberson, I am very grateful for your time and help. It seems like the problem was from the way I extracted the installation files from the MATLAB ISO file downloaded online. I had to mount the iso file following the steps in this link.
Then, I activated the installed Matlab following this link
It took me almost three days. I will now proceed with installing other tools and packages.
I am sharing this in case it might help others.
Regards,

Sign in to comment.

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!