/home/username/.bashrc文件中加入如下内容
export LM_LICENSE_FILE=/home/program_files/modeltech_10.2c/modeltech/LICENSE.dat
export PATH=$PATH:/home/program_files/modeltech_10.2c/modeltech/linux:/home/program_files/xilinx/Vivado/2015.4/bin
&&
/home/username/.bash_profile 文件中加入如下内容
PATH=$PATH:$HOME/bin:/home/program_files/modeltech_10.2c/modeltech/linux:/home/program_files/xilinx/Vivado/2015.4/bin
export PATH
最后别忘记source一下上述两个文件