下载方式有两种:① 自动下载:使用wget。② 手动下载。
自动下载:
## 下载GEMMA
wget -c https://github.com/genetics-statistics/GEMMA/releases/download/0.98.1/gemma-0.98.1-linux-static.gz
## 安装GEMMA
gzip -d gemma-0.98.1-linux-static.gz #解压
chmod a+x gemma-0.98.1-linux-static #设置执行权限
./gemma-0.98.1-linux-static #运行测试
手动下载:
1. 下载地址: https://github.com/genetics-statistics/GEMMA/releases。选择一个版本(本人正在用的是gemma-0.98.1-linux-static.gz,比较稳定),如下所示:

2. 将安装包传输进服务器某个文件夹下,进入该工作路径后,按照下方安装代码安装即可。
## 安装GEMMA
gzip -d gemma-0.98.1-linux-static.gz #解压
chmod a+x gemma-0.98.1-linux-static #设置执行权限
./gemma-0.98.1-linux-static #运行测试
3. 使用时需要进入该工作路径,并把需要的文件放在该路径下。(听说可以设置全局变量,但我还不太会)