Matlab installation error

2 visualizzazioni (ultimi 30 giorni)
Murali Mohan
Murali Mohan il 9 Gen 2012
Risposto: Adithya il 27 Apr 2023
Hi,
Matlab Error while installing on ubuntu, "There is no TEMP directory, please set up a TEMP directory and re-start the installer."
Thanks for the help.
Regards, Murali
  2 Commenti
Daniel Shub
Daniel Shub il 9 Gen 2012
Are you running the installer as root/sudo?
Murali Mohan
Murali Mohan il 9 Gen 2012
running as sudo.

Accedi per commentare.

Risposte (1)

Adithya
Adithya il 27 Apr 2023
The "There is no TEMP directory, please set up a TEMP directory and re-start the installer" error message in MATLAB usually occurs when the installer cannot find the temporary directory on your Ubuntu system. Here are the steps to resolve this issue:
  1. Open the Terminal on your Ubuntu system.
  2. Type "sudo mkdir /tmp" (without the quotes) and press Enter. This command will create a temporary directory named "tmp" in the root directory of your system.
  3. Type "sudo chmod a+rwx /tmp" (without the quotes) and press Enter. This command will grant read, write, and execute permissions to all users on the "tmp" directory.
  4. Close the Terminal and restart the MATLAB installer.
The MATLAB installer should now be able to find the temporary directory and continue with the installation process. If you still encounter the same error message after following these steps, you may want to check that you have the necessary permissions to create and modify files and directories on your Ubuntu system.

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by