Cannot run sudo ./install with Putty (SSH)

8 visualizzazioni (ultimi 30 giorni)
Tran
Tran il 29 Lug 2023
Risposto: Walter Roberson il 30 Lug 2023
I want to install Matlab on Putty, but when I run sudo ./install, it doesn't work. Is there any way to solve it?
  3 Commenti
Walter Roberson
Walter Roberson il 30 Lug 2023
I speculate that maybe the install file is on a file system that is mounted with noexec .
You could experiment with
sudo sh -c ./install
Tran
Tran il 30 Lug 2023
When running sudo ./install nothing shows up. Seems to be running over ssh so it can't be displayed

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 30 Lug 2023
You are not asking for X Windows port forwarding; so if you are expecting a GUI to show up, it is not going to do that. This assumes you have an X server on your system to do the displaying . https://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-to-run-graphics-applications-remotely
You cannot ssh into a Windows system and have it send the graphics to the system you are ssh'ing from.
You also did not specify the inputfile option, so you did not ask for non-interactive installation. https://www.mathworks.com/help/install/ug/install-noninteractively-silent-installation.html

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by