# 使用 Homebrew, apt 安装 lastz

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

## 安装

```sh
sudo av install brew:lastz
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lastz
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install lastz
```

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

## 软件包事实

- **软件包键:** brew:lastz
- **软件包管理器:** Homebrew
- **版本:** 1.04.52
- **来源摘要:** Pairwise aligner for DNA sequences
- **主页:** <https://lastz.github.io/lastz/>
- **仓库:** <https://github.com/lastz/lastz>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- lastz (别名)
- lastz_D (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.04.52
## 项目历史与用法

LASTZ is a pairwise DNA sequence aligner and the successor-style, command-line-compatible replacement for BLASTZ. It is used for comparing genomic sequences and can emit formats used by genome-alignment pipelines, including LAV, AXT, MAF, SAM, CIGAR, PAF, and human-readable output.

### 项目历史

The official documentation presents LASTZ as a drop-in replacement for BLASTZ that preserves BLASTZ command-line syntax while adding options and correcting behavioral problems. Its documentation includes an explicit section on differences from BLASTZ, such as fixes to alignment-boundary behavior, premature termination, chaining overflow, ambiguity handling, and additional output formats.

The GitHub repository was created on 2016-08-11 and is described by the project as the official working branch, with users encouraged to use tagged releases. Tagged 1.04.x releases continued the project's bioinformatics-maintenance role after the BLASTZ era.

### 采用历史

LASTZ is packaged in Homebrew, Debian, and Ubuntu and appears in high-performance-computing genomics documentation because pairwise whole-genome and read-to-reference alignment remain recurring batch-computing tasks. Its BLASTZ compatibility helped existing workflows migrate without rewriting every command line.

The adoption pattern is typical of scientific command-line tools: a stable executable, long HTML manual, tagged source releases, and distribution packages matter more than a polished end-user application interface.

### 使用方式

Users run `lastz` with target and query sequences plus scoring, seeding, masking, chaining, and output-format options. The manual's examples cover comparing chromosomes, aligning shotgun reads to a chromosome, self-alignment, and working with seed, HSP, gapped-alignment, and chaining stages.

### 为什么软件包爱好者会关心

LASTZ is package-nerd significant because it is a specialized scientific CLI whose real value is reproducibility: exact versions, tagged releases, and package-manager availability let genomics pipelines rerun large alignments with known behavior.

It also illustrates a common packaging problem in bioinformatics: preserving old command-line compatibility while fixing algorithmic bugs and adding formats needed by newer workflows.

### 时间线

- 2016-08-11: Official GitHub repository created.
- 2017-04-12: Tag 1.04.00 appears in the public GitHub tag set.
- 2022-01-11: Tag 1.04.52 appears in the public GitHub tag set.
- 2026-05-20: GitHub repository metadata records activity on the official repository.

### Related projects

- LASTZ is directly related to BLASTZ, the Miller Lab alignment tools, and downstream genome-alignment formats and pipelines that consume LAV, AXT, MAF, SAM, CIGAR, or PAF output.

### 来源

- <https://api.github.com/repos/lastz/lastz>
- <https://api.github.com/repos/lastz/lastz/tags?per_page=20>
- <https://github.com/lastz/lastz>
- <https://lastz.github.io/lastz/>
- <https://raw.githubusercontent.com/lastz/lastz/master/README.lastz.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - lastz - 1.04.22-2: normalized package name match | Debian stable package indexes: lastz from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | pairwise aligning DNA sequences | https://github.com/lastz/lastz
- Debian apt - lastz-examples - 1.04.22-2: normalized package name match | Debian stable package indexes: lastz-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | pairwise aligning DNA sequences (examples and test scripts) | https://github.com/lastz/lastz
- Ubuntu apt - lastz - 1.04.22-2: normalized package name match | Ubuntu 24.04 LTS package indexes: lastz from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | pairwise aligning DNA sequences | https://github.com/lastz/lastz
- Ubuntu apt - lastz-examples - 1.04.22-2: normalized package name match | Ubuntu 24.04 LTS package indexes: lastz-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | pairwise aligning DNA sequences (examples and test scripts) | https://github.com/lastz/lastz


## Combined YAML source

View the package source record on GitHub. [combined/lastz.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lastz.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
