如何在Ubuntu 14.04上删除matlab
我无法从我的Ubuntu 14.04卸载matlab。 当我运行sudo apt-get purge matlab
然后它显示了matlab配置页面但是当我取消安装过程时它会显示:
Reading package lists... Done Building dependency tree Reading state information... Done Package 'matlab' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up matlab-support (0.0.19) ... No default Matlab path found. Exiting. dpkg: error processing package matlab-support (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: matlab-support E: Sub-process /usr/bin/dpkg returned an error code (1)
我该如何卸载matlab?
您只需删除安装了matlab的文件夹即可。 而已。
但是, 如果您有许可证管理器,则首先需要将其关闭并删除其文件。 我不需要这样做但是你去了:
-
要关闭它:在
etc
文件夹的matlab文件夹中应该有一个名为lmdown
的文件。 运行。 -
要删除其文件:运行
sudo rm /var/tmp/lm_TMW*
您也可以删除符号链接到matlab二进制文件。 跑:
rm /usr/local/bin/matlab /usr/local/bin/mcc /usr/local/bin/mex /usr/local/bin/mbuild
…另外不要忘记删除matlab-support
。 跑:
sudo apt-get purge matlab-support
资源
在终端中运行sudo apt-get purge matlab-support
以将其删除。