歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 卸載Ubuntu下Matlab (uninstall matlab2009 for linux)

卸載Ubuntu下Matlab (uninstall matlab2009 for linux)

日期:2017/2/28 16:24:04   编辑: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改成你自己安裝時起的名字。

Copyright © Linux教程網 All Rights Reserved