Failed to create the specified folder. To continue, select a different folder (Linux)

My operating system is Linux Ubuntu, and I'm trying to install MATLAB. However, the following occurred initially:
"Failed to create the specified folder. To continue, select a different folder."
After that, I changed to the directory: ~/Downloads/MATLAB/R2022a
I managed to start the installation. At the time of installation, the following error occurred:
"There was an error while extracting product files. Try rerunning the Installer.
For help, see this MATLAB Answer."
The information from the MATLAB Answer link didn't help much.
I would be extremely grateful if someone could help me.

2 Commenti

do you have write permission to /usr/local?
I used the following command: xhost +SI:localuser:root sudo -H ./install
And the error "Failed to create the specified folder. To continue, select a different folder.' didn't appear anymore."
However, during installation, only the error "There was an error while extracting product files. Try rerunning the Installer.
For help, see this MATLAB Answer."

Accedi per commentare.

Risposte (1)

Hola, lo que debes hacer es ejecutar con permisos la instalación, así:
sudo ./install
eso es todo, te instalara los archivos de Matlab en la ruta establecida por defecto y en teoria no debe generar ningun problema adicional

Categorie

Prodotti

Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by