./install in terminal gives error "sudo: ./install: command not found"
Mostrar comentarios más antiguos
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
8 comentarios
Walter Roberson
el 16 de Sept. de 2018
I thought it was install.sh ?
Pavana Mysore Ganesh
el 17 de Sept. de 2018
Walter Roberson
el 17 de Sept. de 2018
What file names do you observe?
Pavana Mysore Ganesh
el 17 de Sept. de 2018
abed hyasat
el 30 de Sept. de 2019
how did you solve it?
Walter Roberson
el 30 de Sept. de 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
Arnab Mondal
el 29 de Mayo de 2020
it still says permission denied,
Alex
el 18 de Abr. de 2025
./install: 1: exec: /root/matlab_R2024b_Linux/bin/linux-arm-64/install_unix_legacy: not found
root@395e5367ea7a:~/matlab_R2024b_Linux# cd bin
root@395e5367ea7a:~/matlab_R2024b_Linux/bin# cd glnxa64/
install_unix_legacy is not supported, looks like they want you to figure this out your self, anything without GUI is no longer supported, they have moved all these legacy files away.
Respuestas (1)
Riadus Salehin
el 15 de Feb. de 2021
0 votos
it says 'sh: 0: Can't open ./install'
10 comentarios
Walter Roberson
el 15 de Feb. de 2021
Does install exist in the current directory? What permissions does it have?
Riadus Salehin
el 15 de Feb. de 2021
No, there is not any install directory
Patrice Gaofei
el 17 de Feb. de 2021
Please, has anyone been able to solve this problem?
In my case, I got "sudo: ./install: command not found" when running "sudo ./install". Then, I tried " sudo sh ./install" as recommended above, but it still did not work "./install: 1: exec: /home/gaofei/Matlab_setup/setup/matlab2020a/bin/glnxa64/install_unix: Permission denied".
I am trying to install Matlab 2020a on a Linux server
Please, any suggestions would be highly appreciated.
Walter Roberson
el 17 de Feb. de 2021
@Patrice Monkam is that file system mounted with the noexec flag?
For example is a USB thumb drive mounted there, or a disk image? USB thumb drives tend to automatically mount with noexec .
Patrice Gaofei
el 17 de Feb. de 2021
@Walter Roberson Sorry, I am not sure whether I understood you very well. Actually, the downloaded file is in iso format (that could be seen as CD). I simply unzipped the content to my current directory. I had installed it before, but on windows operating system.
I have tried various tricks based on online contents, but all in vain. I have been stuck here for almost a day now.
Patrice Gaofei
el 17 de Feb. de 2021
This is what I am getting now as error.
terminate called after throwing an instance of 'std::runtime_error'
what(): Unable to launch the MATLABWindow application
Aborted
after running
sudo sh ./install
Walter Roberson
el 17 de Feb. de 2021
I recommend contacting Mathworks for free installation assistance.
Patrice Gaofei
el 18 de Feb. de 2021
@Walter Roberson Thank you very much for your time and suggestions! I have submitted a request, still waiting for their reply.
In the meantime, anything to try while waiting?
Walter Roberson
el 18 de Feb. de 2021
Could still be -noexec problem or needs
sudo chmod -r ugo+x .
The final period is part of the command
Patrice Gaofei
el 19 de Feb. de 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,
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!