- 使用PuTTY工具,以root用户登录服务器。
- 执行以下命令,安装基础依赖。
yum install zlib perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
- 执行以下命令,指定编译器。
export CC=`which gcc`
export CXX=`which g++`
export FC=`which gfortran`
- 执行以下命令,安装SVG。
tar -xzf SVG-2.85.tar.gz
cd SVG-2.85
perl Makefile.PL
make
make install
- 执行以下命令,安装LDBlockShow。
tar -zxvf v1.36.tar.gz
cd LDBlockShow-1.36
chmod +x configure
./configure
make
cp LDBlockShow ./bin/
cp: overwrite ‘./bin/LDBlockShow’? y
- 执行以下命令,安装PLINK。
yum install blas-devel lapack-devel atlas-devel perl-Digest-SHA -y
ln -s /usr/lib64/atlas/libtatlas.so.3.10 /usr/lib64/atlas/libatlas.so
ln -s /usr/lib64/atlas/libsatlas.so.3.10 /usr/lib64/atlas/libcblas.so
tar -zxf master.tar.gz
mv zlib-1.2.11.tar.gz plink-ng-master
cd plink-ng-master/1.9 && sed -i '0,/curl/s/curl/# curl/g' plink_first_compile
./plink_first_compile
cp plink /path/to/LDBLOCKSHOW/LDBlockShow-1.36/bin/
cp: overwrite ‘/path/to/LDBLOCKSHOW/LDBlockShow-1.36/bin/plink’? y