首先下载安装包并解压:
wget https://github.com/samtools/samtools/releases/download/1.9/samtools-1.9.tar.bz2
tar -xzvf samtools-1.9.tar.bz2
进入samtools文件夹:
cd samtools-1.9
安装:
./configure
make
sudo make install
如果是非root用户:
./configure --prefix=/home/用户名/.local
make
make install