# 安装 samtools

查看 samtools 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:samtools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install samtools
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install samtools
```

  证据: MacPorts ports tree: science/samtools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install samtools
```

  证据: Debian stable package indexes: samtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install samtools
```

  证据: Fedora Rawhide package metadata: samtools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#samtools
```

  证据: nixpkgs package indexes: pkgs/by-name/sa/samtools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install samtools
```

  证据: openSUSE Tumbleweed package metadata: samtools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## 软件包事实

- **软件包键:** brew:samtools
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/samtools>
- **版本:** 1.23.1
- **来源摘要:** Tools for manipulating next-generation sequencing data
- **主页:** <https://www.htslib.org/>
- **仓库:** <https://github.com/samtools/samtools>
- **上游文档:** <https://www.htslib.org/>
- **许可证:** MIT
- **源码归档:** <https://github.com/samtools/samtools/releases/download/1.23.1/samtools-1.23.1.tar.bz2>
- **更新:** 2026-03-18T18:10:04Z
- **生成来源:** 2026-05-26T22:45:13+00:00

## 可执行文件

- ace2sam (cli)
- blast2sam.pl (cli)
- bowtie2sam.pl (cli)
- export2sam.pl (cli)
- fasta-sanitize.pl (cli)
- interpolate_sam.pl (cli)
- maq2sam-long (cli)
- maq2sam-short (cli)
- md5fa (cli)
- md5sum-lite (cli)
- novo2sam.pl (cli)
- plot-ampliconstats (cli)
- plot-bamstats (cli)
- psl2sam.pl (cli)
- sam2vcf.pl (cli)
- samtools (cli)
- samtools.pl (cli)
- seq_cache_populate.pl (cli)
- soap2sam.pl (cli)
- wgsim (cli)
- wgsim_eval.pl (cli)
- zoom2sam.pl (cli)
- ace2sam (别名)
- blast2sam.pl (别名)
- bowtie2sam.pl (别名)
- export2sam.pl (别名)
- fasta-sanitize.pl (别名)
- interpolate_sam.pl (别名)
- maq2sam-long (别名)
- maq2sam-short (别名)
- md5fa (别名)
- md5sum-lite (别名)
- novo2sam.pl (别名)
- plot-ampliconstats (别名)
- plot-bamstats (别名)
- psl2sam.pl (别名)
- sam2vcf.pl (别名)
- samtools (别名)
- samtools.pl (别名)
- seq_cache_populate.pl (别名)
- soap2sam.pl (别名)
- wgsim (别名)
- wgsim_eval.pl (别名)
- zoom2sam.pl (别名)

## 依赖

- htslib

## macOS 提供的库

- ncurses

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 1.23.1
- 管理器更新时间: 2026-03-18
- 本地数据: ok
- 上游仓库: https://github.com/samtools/samtools
- info: No cached GitHub release or tag data was available.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** green / low
- narrow executable package without higher-risk signals

## 相关链接

- [htslib](https://www.automicvault.com/pkg/brew/htslib/) - Runtime dependency declared by Homebrew.
- [flye](https://www.automicvault.com/pkg/brew/flye/) - Popular package that depends on this formula.
- [bcftools](https://www.automicvault.com/pkg/brew/bcftools/) - Shares the same upstream homepage.

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
