Matlab installation error
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Adithya
on 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:
- Open the Terminal on your Ubuntu system.
- 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.
- 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.
- 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.
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!