How to completely uninstall MATLAB?
Recently, I installed MATLAB from the Ubuntu Software and uninstalled afterwards. However, when I do a software update via Software Updater, it shows me the following and disallow me to continue the update process. How can I completely remove the MATLAB software?
I have tried the following command but now workable.
When I execute sudo dpkg --configure -a, the following is shown.
3 Answers
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:
If you are running a license manager for MATLAB, shut down the license manager using the
lmdownscript located in MATLAB's etc directory. If this folder does not exist, you are not running the FlexNet license manager. For example:[root@localhost ~] /usr/local/MATLAB/R2010b/etc/lmdownYou should also remove any license manager files in the
/var/tmpdirectory. These files should begin withlm_TMW, e. g.:[root@localhost ~] rm /var/tmp/lm_TMW*Remove the entire root MATLAB directory using the
rm -rfcommand, e. g.:[root@localhost ~] rm -rf /usr/local/MATLAB/R2010bRemove any symlinks to MATLAB binaries on the path, e. g.:
[root@localhost ~] rm /usr/local/bin/matlab /usr/local/bin/mcc /usr/local/bin/mex /usr/local/bin/mbuild
Try:
sudo apt-get remove matlab-supportI got the same problem, and it seemed to have happened because I've installed a MATLAB support tool before I installed MATLAB itself.
For me the recommendation of
sudo apt-get remove matlab-supportwith and additional command line
sudo dpkg --configure -aworked.
I explain: First:
sudo apt-get remove matlab-supportafter this command line the terminal show you a error message and suggest you to use
sudo dpkg --configure -aSecond:
sudo dpkg --configure -aby typing this command line will show you a screen like the second one shown in this post, click on "cancel" and wait.
Third: well nothing, the system in the previous step had to remove the package.
More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"