MATLAB Answers

How do I uninstall MATLAB products on a UNIX or Linux machine?

1,618 ビュー (過去 30 日間)
I would like to uninstall MATLAB on a UNIX or Linux machine.

採用された回答

MathWorks Support Team
MathWorks Support Team 2019 年 3 月 1 日
There is no uninstaller for MATLAB on UNIX or Linux. To remove MATLAB you simply need to delete the MATLAB installation following the instructions below:
1. If you are running a network license manager for MATLAB, shut down the license manager using the 'lmdown' script located in MATLAB's etc directory. If this folder does not exist, you are not running the network license manager. For example:
[root@localhost ~] /usr/local/MATLAB/R2010b/etc/lmdown
2. You should also remove any license manager files in the /var/tmp directory. These files should begin with 'lm_TMW', ex:
[root@localhost ~] rm /var/tmp/lm_TMW*
3. Remove the entire root MATLAB directory using the 'rm -rf' command, ex:
[root@localhost ~] rm -rf /usr/local/MATLAB/R2010b
4. Remove any symlinks to MATLAB binaries on the path, ex:
[root@localhost ~] rm /usr/local/bin/matlab /usr/local/bin/mcc /usr/local/bin/mex /usr/local/bin/mbuild

  2 件のコメント

Donald Dansereau
Donald Dansereau 2017 年 3 月 21 日
Don't forget to remove the downloaded files.
I've been running the linux install script as sudo for years, meaning the download files have been very stealthily accumulating in /root/Downloads. If you're in the same boat, try:
sudo rm -r /root/Downloads/MathWorks
... or if you don't install as root, do
rm -r ~/Downloads/MathWorks
Robin chacko
Robin chacko 2018 年 10 月 9 日
What should I do If the lmdown script is not found in the MATLAB's etc directory.?

Sign in to comment.

その他の回答 (5 件)

Amine MATOUK
Amine MATOUK 2016 年 11 月 7 日
Hello,
Instructions 1,2, and 4 didn't excute for me,
Thanks to explain.

  2 件のコメント

Steve Meeker
Steve Meeker 2017 年 8 月 7 日
Hello , I have performed all these steps on Centos 7 and the files when I rerun tell me no such file in directory, I type matlab into the Konsole and 2016a comes right up ideas?
Walter Roberson
Walter Roberson 2017 年 8 月 7 日
At the Konsole give the commands
which matlab
alias | grep matlab
and see what is returned. I suspect you might have an alias pointing to a different version.

Sign in to comment.


SGUNITN
SGUNITN 2018 年 2 月 23 日
@Annie
use superuser in order to delete the files. It might be privilege issue. sudo su

  0 件のコメント

Sign in to comment.


peishenfei
peishenfei 2018 年 4 月 5 日
Instructions 4, why does my file /usr/local/bin/mex points to /home/xxx/app/texlive/bin/x86_64-linux/mex? Thanks in advance

  0 件のコメント

Sign in to comment.


Tech Support
Tech Support 2018 年 4 月 13 日
Hi Peishenfei,
If you are still experiencing this issue, please contact MathWorks support:
-Justin

  0 件のコメント

Sign in to comment.


Artsiom Krasilnikau
Artsiom Krasilnikau 2020 年 1 月 4 日
А как этот матлаб в плане секса?

  1 件のコメント

Colin Fraser
Colin Fraser 2020 年 1 月 15 日
Hi,
If you are still experiencing this issue, please contact MathWorks support:
-Colin Fraser

Sign in to comment.

タグ

タグが未入力です。

製品


Translated by