# 使用 Homebrew, apk 安装 t2sz

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

## 安装

```sh
sudo av install brew:t2sz
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install t2sz
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add t2sz
```

  证据: Alpine Linux edge package indexes: t2sz from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

## 软件包事实

- **软件包键:** brew:t2sz
- **软件包管理器:** Homebrew
- **版本:** 1.2.5
- **来源摘要:** Compress a file into a seekable zstd with per-file seeking for tar archives
- **主页:** <https://github.com/martinellimarco/t2sz>
- **仓库:** <https://github.com/martinellimarco/t2sz>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- t2sz (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

t2sz is a command-line compressor for seekable Zstandard output, with special handling for tar archives so individual tar members can be reached without decompressing the whole archive.

### 项目历史

The README expands the name as tar to seekable zstd: a tar archive is compressed with each file in an independent Zstandard frame. GitHub repository metadata records the public repository creation in December 2020.

### 采用历史

The README advertises package-manager paths for AUR, Homebrew, Snap, Debian-style release packages, and source builds. The Homebrew input also records Alpine and Homebrew packaging, which fits a niche utility used by archive and compression users rather than a broad desktop audience.

### 使用方式

t2sz runs in tar mode for .tar input by default and raw mode for other files, accepts stdin and stdout, exposes compression-level and block-size controls, and produces output readable by ordinary Zstandard tools. Seeking benefits require companion readers such as libzstd-seek, indexed_zstd, or ratarmount.

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

Package nerds care because t2sz sits at the intersection of tar, zstd, random access, and archival ergonomics: it preserves standard decompression while adding structure that downstream tooling can exploit.

### 时间线

- 2020: The public GitHub repository was created.
- 2026: GitHub releases show v1.2.x releases, with v1.2.5 published on 2026-03-08.
- 2026: The README documents Homebrew installation on Linux and macOS.

### Related projects

- The README names zstd, libzstd-seek, indexed_zstd, and ratarmount as related projects for compression and seekable reading.

### 来源

- <https://api.github.com/repos/martinellimarco/t2sz>
- <https://api.github.com/repos/martinellimarco/t2sz/releases>
- <https://github.com/martinellimarco/t2sz#readme>
- input.source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- apk - t2sz - 1.1.2-r0: normalized package name match | Alpine Linux edge package indexes: t2sz from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | t2sz compress a file into a seekable zstd with special handling for tar archives. | https://github.com/martinellimarco/t2sz


## Combined YAML source

View the package source record on GitHub. [combined/t2sz.yml](https://github.com/mxcl/pkgdb/blob/main/combined/t2sz.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
