# 使用 Homebrew, apt, dnf, Nix 安装 fex

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

## 安装

```sh
sudo av install brew:fex
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fex
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install fex
```

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

- dnf (92%):

```sh
sudo dnf install fex
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#fex
```

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

## 软件包事实

- **软件包键:** brew:fex
- **软件包管理器:** Homebrew
- **版本:** 2.0.0
- **来源摘要:** Powerful field extraction tool
- **主页:** <https://www.semicomplete.com/projects/fex/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fex (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

fex is a small command-line field extractor for tokenizing strings and selecting fields with concise delimiter and range syntax.

### 项目历史

Jordan Sissel published the official fex project page on May 19, 2010, describing it as flexible token-field extraction and documenting examples for logs, paths, and passwd-style records. The GitHub repository identifies the project as flexible field/token extraction and has been public on GitHub since 2011.

### 采用历史

Homebrew packages fex as a stable formula at version 2.0.0. Its official project page directs release downloads to GitHub, making the GitHub repository the practical source and release surface for package maintainers.

### 使用方式

Typical use is pipeline text processing: provide delimiters and field selectors to pull fields from log lines, paths, or colon-separated records. The official docs position it as a concise alternative to repeated cut or awk invocations for selected field extraction.

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

fex matters to CLI package users because it sits in the classic Unix text-filter niche: tiny executable, no service state, and a focused syntax that makes package-manager installation convenient for shell pipelines.

### 时间线

- 2010: Official fex project page published.
- 2011: GitHub repository created.
- 2021: GitHub repository last pushed according to GitHub metadata.
- 2026: Homebrew formula reports stable version 2.0.0.

### Related projects

- The README says fex is related to cut, awk, and ksb's xapply field extraction syntax.

### 来源

- <https://api.github.com/repos/jordansissel/fex>
- <https://formulae.brew.sh/api/formula/fex.json>
- <https://github.com/jordansissel/fex>
- <https://www.semicomplete.com/projects/fex/>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - fex - 20160919-2: normalized package name match | Debian stable package indexes: fex from https://deb.debian.org/debian/dists/stable/non-free/binary-amd64/Packages.xz | web service for transferring very large files | http://fex.rus.uni-stuttgart.de/
- Debian apt - fex-utils - 20160919-2: normalized package name match | Debian stable package indexes: fex-utils from https://deb.debian.org/debian/dists/stable/non-free/binary-amd64/Packages.xz | web service for transferring very large files (utils) | http://fex.rus.uni-stuttgart.de/
- Nix - fex: normalized package name match | nixpkgs package indexes: pkgs/by-name/fe/fex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fex - 20160919-2: normalized package name match | Ubuntu 24.04 LTS package indexes: fex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | web service for transferring very large files | http://fex.rus.uni-stuttgart.de/
- Ubuntu apt - fex-utils - 20160919-2: normalized package name match | Ubuntu 24.04 LTS package indexes: fex-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | web service for transferring very large files (utils) | http://fex.rus.uni-stuttgart.de/
- dnf - fex - 2.0.0-26.fc45: normalized package name match | Fedora Rawhide package metadata: fex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Field split/extraction like cut/awk | http://semicomplete.com/projects/fex/


## Combined YAML source

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