只需将安装软件的启动文件软链接至/usr/local/bin/路径下即可。如matlab和pycharm指令如下。
matlab:
sudo ln -s /usr/local/MATLAB/R2016b/bin/matlab /usr/local/bin/matlab
启动时在终端任何路径下键入matlab即可启动
pycharm:
sudo ln -s /home/xn/pycharm/bin/pycharm.sh /usr/local/bin/pycharm.sh
只需将安装软件的启动文件软链接至/usr/local/bin/路径下即可。如matlab和pycharm指令如下。
matlab:
sudo ln -s /usr/local/MATLAB/R2016b/bin/matlab /usr/local/bin/matlab
启动时在终端任何路径下键入matlab即可启动
pycharm:
sudo ln -s /home/xn/pycharm/bin/pycharm.sh /usr/local/bin/pycharm.sh