Matlab installation error

1 次查看(过去 30 天)
Murali Mohan
Murali Mohan 2012-1-9
回答: Adithya 2023-4-27
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 个评论
Daniel Shub
Daniel Shub 2012-1-9
Are you running the installer as root/sudo?

请先登录,再进行评论。

回答(1 个)

Adithya
Adithya 2023-4-27
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.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by