MATLAB Answers

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

1,215 views (last 30 days)
I would like to uninstall MATLAB or other MathWorks Products on or Linux machine.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 19 Jan 2021
Edited: MathWorks Support Team on 13 Apr 2021
There is no uninstaller for MathWorks products on Linux. To remove MATLAB, you simply need to delete the MATLAB installation following the instructions below:
1. Remove the entire root directory using the 'rm -rf' command, ex:
[root@localhost ~] rm -rf /usr/local/MATLAB/R2010b
2. Remove any symlinks to 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 Comments
Robin chacko
Robin chacko on 9 Oct 2018
What should I do If the lmdown script is not found in the MATLAB's etc directory.?

Sign in to comment.

More Answers (5)

Amine MATOUK
Amine MATOUK on 7 Nov 2016
Hello,
Instructions 1,2, and 4 didn't excute for me,
Thanks to explain.
  2 Comments
Walter Roberson
Walter Roberson on 7 Aug 2017
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 on 23 Feb 2018
@Annie
use superuser in order to delete the files. It might be privilege issue. sudo su

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


Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!