---
title: 安装samtools-1.16.1
description: "1. 执行以下命令下载samtools源码包。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kylin_kunpeng_athenameta_13_02_0008.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kylin_kunpeng_athenameta_13_02_0008.html
indexId: badd934d2fd4e896612e47f67d8994b1659dd71161d4f092c7df71e664910b5c82
---
# 安装samtools-1.16.1

#### 操作步骤

1. 执行以下命令下载samtools源码包。

```
cd
/path/to
/athena_meta/dependences
wget https://github.com/samtools/samtools/releases/download/1.16.1/samtools-1.16.1.tar.bz2
```


2. 执行以下命令解压并进入源码目录。

```
tar -xvf samtools-1.16.1.tar.bz2
cd samtools-1.16.1
```


3. 执行以下命令编译安装。

```
make -j && make install
```
