How do I uninstall MATLAB or other MathWorks products on a Linux machine?
1,726 views (last 30 days)
Show older comments
I would like to uninstall MATLAB or other MathWorks Products on or Linux machine.
Accepted Answer
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
More Answers (5)
Amine MATOUK
on 7 Nov 2016
Hello,
Instructions 1,2, and 4 didn't excute for me,
Thanks to explain.
2 Comments
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.
SGUNITN
on 23 Feb 2018
@Annie
use superuser in order to delete the files. It might be privilege issue. sudo su
0 Comments
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
0 Comments
Tech Support
on 13 Apr 2018
Edited: MathWorks Support Team
on 19 Jan 2021
Hi Peishenfei,
If you are still experiencing this issue, please contact MathWorks support:
-Justin
0 Comments
Artsiom Krasilnikau
on 4 Jan 2020
А как этот матлаб в плане секса?
1 Comment
Colin Fraser
on 15 Jan 2020
Hi,
If you are still experiencing this issue, please contact MathWorks support:
-Colin Fraser
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!