# 使用 Homebrew, chocolatey, apt, dnf, Nix, winget 安装 rig

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

## 安装

```sh
sudo av install brew:rig
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install rig
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install rig
```

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

- dnf (92%):

```sh
sudo dnf install rig
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#rig
```

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

### Windows

- Chocolatey (92%):

```sh
choco install rig
```

  证据: Chocolatey community package catalog: rig from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='6.7784','gitversion'

- winget (92%):

```sh
winget install --id Posit.rig -e
```

  证据: Windows Package Manager source index: Posit.rig from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:rig
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/rig>
- **版本:** 1.11
- **来源摘要:** Provides fake name and address data
- **主页:** <https://rig.sourceforge.net/>
- **上游文档:** <https://rig.sourceforge.net/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/rig/rig/1.11/rig-1.11.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- rig (cli)
- rig (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.11
- 本地数据: OK
- 上游仓库: https://rig.sourceforge.net/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

RIG, the Random Identity Generator, is a small command-line utility for generating fake but geographically consistent U.S.-style names, addresses, ZIP codes, area codes, and phone-number placeholders.

### 项目历史

The upstream project describes RIG as Ian Turner's GPL replacement for an older closed-source MS-DOS program named fake. The manpage records the first Unix version as written from scratch in 1999, with release 1.00 following on January 27, 2000.

RIG 1.10 added the modern option shape, multiple-identity output, male and female name selection, and a names list based on U.S. Census data. Version 1.11, released April 23, 2006, is still the upstream version published by the official site.

### 采用历史

RIG became a long-lived package-manager utility because it is tiny, has no service dependency, and solves a common testing and privacy-adjacent command-line need. Debian continues to package it as a misc utility, and Homebrew ships version 1.11 for macOS and Linux.

### 使用方式

Users run `rig` to print one identity, `rig -c num` to print several, `rig -f` or `rig -m` to limit names by gender, and `rig -d datadir` to point at alternate data files. The documented default data files are the locdata, street, first-name, male-name, and last-name index files installed under the package data directory.

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

Package maintainers keep RIG around as an example of the old Unix single-purpose data generator: a compiled CLI, a handful of text data files, and a manpage. It is also a useful package-name collision case, since unrelated modern projects use similar names while the original RIG package remains tied to the SourceForge random-identity generator.

### 时间线

- 1999: First Unix version written from scratch.
- 2000: RIG 1.00 initial release.
- 2001: RIG 1.04 cleaned up the makefile and manpage.
- 2002: RIG 1.10 added multiple output and male/female selection options.
- 2006: RIG 1.11 released with portability and option fixes.
- 2026: Debian and Homebrew still package RIG 1.11.

### Related projects

- RIG was written as a replacement for the earlier MS-DOS fake program. Its niche overlaps with later fake-data generators such as Faker, but RIG remains a much smaller command-line-only utility.

### 来源

- <https://downloads.sourceforge.net/project/rig/rig/1.11/rig-1.11.tar.gz>
- <https://formulae.brew.sh/formula/rig>
- <https://manpages.ubuntu.com/manpages/resolute/man6/rig.6.html>
- <https://packages.debian.org/sid/rig>
- <https://rig.sourceforge.net/>
- <https://sourceforge.net/projects/rig/>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** rig
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** r-rig
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - rig - 1.11-1.2: normalized package name match | Debian stable package indexes: rig from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Random identity generator
- Nix - rig: normalized package name match | nixpkgs package indexes: pkgs/by-name/ri/rig/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - rig - 1.11-1.1: normalized package name match | Ubuntu 24.04 LTS package indexes: rig from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Random identity generator
- dnf - rig - 1.1-18.fc45: normalized package name match | Fedora Rawhide package metadata: rig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Monitor a system for events and trigger specific actions | https://github.com/TurboTurtle/rig
- Chocolatey - rig: normalized package name match | Chocolatey community package catalog: rig from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='6.7784','gitversion'
- winget - Posit.rig: normalized package name match | Windows Package Manager source index: Posit.rig from https://cdn.winget.microsoft.com/cache/source.msix
- winget - RigSmith.Rig: normalized package name match | Windows Package Manager source index: RigSmith.Rig from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [jr](https://pkg.so/zh-hans/brew/jr/) - Shares pkgdb curated category or tags: cli, data, test-data.
- [neosync](https://pkg.so/zh-hans/brew/neosync/) - Shares pkgdb curated category or tags: cli, data, test-data.
- [faker](https://pkg.so/zh-hans/brew/faker/) - Shares pkgdb curated category or tags: cli, data, fake-data, test-data.
- [sqlite](https://pkg.so/zh-hans/brew/sqlite/) - Shares pkgdb curated category or tags: cli, data.
- [protobuf](https://pkg.so/zh-hans/brew/protobuf/) - Shares pkgdb curated category or tags: cli, data.
- [bzip2](https://pkg.so/zh-hans/brew/bzip2/) - Shares pkgdb curated category or tags: cli, data.
- [redis](https://pkg.so/zh-hans/brew/redis/) - Shares pkgdb curated category or tags: cli, data.
- [gdbm](https://pkg.so/zh-hans/brew/gdbm/) - Shares pkgdb curated category or tags: cli, data.
- [faker-br](https://pkg.so/zh-hans/npm/faker-br/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, generator, test, test-data.

## Combined YAML source

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


## 来源

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