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

22 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2019-9-30
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

请先登录,再进行评论。

回答(1 个)

Riadus Salehin
Riadus Salehin 2021-2-15
it says 'sh: 0: Can't open ./install'
  10 个评论
Walter Roberson
Walter Roberson 2021-2-18
Could still be -noexec problem or needs
sudo chmod -r ugo+x .
The final period is part of the command
Patrice Gaofei
Patrice Gaofei 2021-2-19
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,

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by