# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.7743998','highlight'

- 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
- **版本:** 1.11
- **来源摘要:** Provides fake name and address data
- **主页:** <https://rig.sourceforge.net/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- rig (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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.7743998','highlight'
- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
