卸载Ubuntu下Matlab (uninstall matlab2009 for linux)


我在matlab官网搜到如下帮助文档

Problem Description:

I would like to uninstall MATLAB on a UNIX or Linux machine.

Solution:

There is not uninstaller for MATLAB on UNIX or Linux. To remove MATLAB you will simply need to remove the files. Here's what you should do to completely uninstall MATLAB on a UNIX or Linux machine:

1. If you are running a license manager for MATLAB, shut down the license manager using the 'lmdown'

script located in MATLAB's etc folder. If this folder does not exist, you are not running the FlexNet

license manager.

2. Remove the entire root MATLAB directory tree using the 'rm -rf' command.

3. Remove the license manager files in the /var/tmp directory. These files should begin with 'lm'.

This should remove MATLAB and the completely from your UNIX or Linux machine.

根据上面,我是这样做的

1.在matlab文件夹搜索 lmdown,我没找到文件,所以我没有运行license manager(许可管理)。

2.在/var目录搜索lm,我只找到以lm-sensors开头的文件,而lm-sensors是一个硬件状况监视器,用来得到温度、电压、风扇速度传感器信息。显然跟matlab无关。

3.在终端运行sudo rm -rf /opt/matlab(改成你自己的matlab路径)删除matlab文件夹。
4.在/home/user(你的用户名)下面有.matlab 文件夹,删之这是一个隐藏文件夹,先要显示隐藏文件,才看得见。

5.如果桌面有matlab快捷方式的话,把它删掉,运行 sudo remove /usr/share/application/matlab.desktop删除/usr/share/application /matlab.desktop,这里matlab.desktop改成你自己安装时起的名字。

相关内容