1、下载GAMS
wget http://d37drm4t2jghv5.cloudfront.net/distributions/24.5.6/linux/linux_x64_64_sfx.exe
2、解压
unzip linux_x64_64_sfx.exe
3、移动到/usr/local/gams
mv gams24.5_linux_x64_64_sfx/ /usr/local/gams
4、添加系统变量(在/etc/profile文件尾添加)
PATH=$PATH:/usr/local/gams
export PATH
5、初始化求解器
gamsinst