on ubuntu sudo won't run the install file

12 vues (au cours des 30 derniers jours)
Antoine Monestier
Antoine Monestier le 26 Sep 2021
Commenté : Jose Hernandez le 27 Déc 2021
I'm trying to install MatLab on Ubuntu 20.04.
Running
./install
in the terminal does bring out the installation window but then the installer doesn't have the permission to write on usr/local
So i need to run
sudo ./install
but this does nothing, the process doesn't do anything and doesn't stop. It doesn't even have an error message.
I've tried changing the permissions on the file with chmod but it doesn't anything.
Where could the problem come from ?
  5 commentaires
Gurpreet Singh
Gurpreet Singh le 14 Oct 2021
Running the following code in terminal (from ./install directory) worked for me:
xhost +SI:localuser:root
Jose Hernandez
Jose Hernandez le 27 Déc 2021
Thank you very much, it works !!!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by