※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 180.204.83.57
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1523627572.A.BC9.html
MATLAB Linux 版是直接安裝在指定目錄
如果你要系統中各帳號都能用,就裝在
/usr/local/
或是
/opt/
由於它預設目錄結構是
MATLAB/2018a/{bin, etc, ...}
所以我會建議放 /opt/ 比較好
如果你只是單帳號使用,我會建議放
~/bin/
不同版本就是
~/bin/MATLAB/2018a
~/bin/MATLAB/2018b
再用
1 連結
2 scripts
3 alias
讓 Shell 找到主程式
至於移除,直接 rm 安裝目錄就好。
--