# 安装 ptex

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

## 安装

```sh
sudo av install brew:ptex
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ptex
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ptex
```

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

### Linux

- apk (92%):

```sh
sudo apk add ptex
```

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

- dnf (92%):

```sh
sudo dnf install ptex
```

  证据: Fedora Rawhide package metadata: ptex 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#ptex
```

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

- pacman (92%):

```sh
sudo pacman -S ptex
```

  证据: Arch Linux sync databases: ptex from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:ptex
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ptex>
- **版本:** 2.5.2
- **来源摘要:** Texture mapping system
- **主页:** <https://ptex.us/>
- **仓库:** <https://github.com/wdas/ptex>
- **上游文档:** <https://ptex.us/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/wdas/ptex/archive/refs/tags/v2.5.2.tar.gz>
- **更新:** 2026-04-11T04:22:36Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- ptxinfo (cli)
- ptxinfo (别名)

## 依赖

- libdeflate

## 构建依赖

- cmake
- pkgconf

## 安装行为

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

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 2.5.2
- 管理器更新时间: 2026-04-11
- 本地数据: ok
- 上游仓库: https://github.com/wdas/ptex
- 检测到的最新版本: v2.5.2 (current)

## 安全说明

narrow executable package without higher-risk signals.

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

## 相关链接

- [libdeflate](https://www.automicvault.com/pkg/brew/libdeflate/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.

## 来源

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