./install in terminal gives error "sudo: ./install: command not found"
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 16 Sep 2018
I thought it was install.sh ?
Pavana Mysore Ganesh
le 17 Sep 2018
Walter Roberson
le 17 Sep 2018
What file names do you observe?
Pavana Mysore Ganesh
le 17 Sep 2018
abed hyasat
le 30 Sep 2019
how did you solve it?
Walter Roberson
le 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
Arnab Mondal
le 29 Mai 2020
it still says permission denied,
Alex
le 18 Avr 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.
Réponses (1)
Riadus Salehin
le 15 Fév 2021
0 votes
it says 'sh: 0: Can't open ./install'
10 commentaires
Walter Roberson
le 15 Fév 2021
Does install exist in the current directory? What permissions does it have?
Riadus Salehin
le 15 Fév 2021
No, there is not any install directory
Patrice Gaofei
le 17 Fév 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
le 17 Fév 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
le 17 Fév 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
le 17 Fév 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
le 17 Fév 2021
I recommend contacting Mathworks for free installation assistance.
Patrice Gaofei
le 18 Fév 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
le 18 Fév 2021
Could still be -noexec problem or needs
sudo chmod -r ugo+x .
The final period is part of the command
Patrice Gaofei
le 19 Fév 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,
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!