# 使用 Homebrew, apt, dnf, MacPorts, zypper 安装 genders

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

## 安装

```sh
sudo av install brew:genders
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install genders
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install genders
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install genders
```

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

- dnf (92%):

```sh
sudo dnf install genders
```

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

- zypper (92%):

```sh
sudo zypper install genders
```

  证据: openSUSE Tumbleweed package metadata: genders from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:genders
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/genders>
- **版本:** 1.32.1
- **来源摘要:** Static cluster configuration database for cluster management
- **主页:** <https://github.com/chaos/genders>
- **仓库:** <https://github.com/chaos/genders>
- **上游文档:** <https://github.com/chaos/genders#readme>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/chaos/genders/archive/refs/tags/genders-1-32-1.tar.gz>
- **最后更新:** 2026-06-19T12:31:19-07:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- nodeattr (cli)
- nodeattr (别名)

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.32.1
- 管理器更新时间: 2026-06-19
- 本地数据: OK
- 上游仓库: https://github.com/chaos/genders
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Genders is a static cluster configuration database for high-performance computing and cluster administration. It stores node names and attributes in a replicated plain-text file, then lets tools such as `nodeattr` and libraries such as libgenders query those attributes locally.

### 项目历史

Genders originated at Lawrence Livermore National Laboratory's Livermore Computing environment, with tutorial material dated June 19, 2000 and public repository history imported in 2001. The package was written around the needs of massively parallel processing clusters, where scripts needed to adapt to node roles without embedding hard-coded host lists.

The software grew from a plain cluster attribute file into a small ecosystem: libgenders in C, Perl APIs, `nodeattr`, compatibility scripts, and later C++, Java, Python, and other extension work. Its NEWS file records years of practical cluster-admin improvements, including hostrange support, query parsing, performance work for large clusters, and database compression or expansion commands.

### 采用历史

The upstream tutorial says the framework has been useful on clusters ranging from two or three workstations to the 11,136 nodes in El Capitan. That statement captures its niche: Genders is not a general desktop utility, but it matters in HPC shops where a single node-attribute database can drive boot scripts, batch queue generation, parallel command targeting, and role-specific service startup.

Package-manager adoption across Homebrew, Debian, Fedora/DNF, Ubuntu, MacPorts, and SUSE-family systems reflects its long-lived role as a small Unix administration primitive rather than a fast-moving end-user application.

### 使用方式

Practitioners edit `/etc/genders` or another genders file to assign attributes such as compute, login, management, queue membership, network role, or route data to node names and host ranges. They then run `nodeattr` to list matching nodes, check whether the local node has an attribute, retrieve values, validate the database, or expand and compress host ranges.

The classic workflow is to replace brittle script logic with attribute queries: a common rc script can ask whether the node has the `login` or `raid` attribute, while batch configuration scripts can generate host lists from queue attributes.

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

Genders is package-nerd significant because it preserves an older but durable Unix cluster-management pattern: a replicated text database plus fast local query tools. Its value is not novelty; it is that administrators can carry the same simple file format and `nodeattr` command across clusters and distributions.

### 时间线

- 2000-06-19: Original tutorial material documents the concept for LLNL cluster configuration management.
- 2001: Public repository history is imported and early 0.x tags appear.
- 2003-2004: Tutorial revisions and 1.x package history document broader nodeattr and libgenders usage.
- 2010s-2020s: NEWS and tutorial updates document performance work, hostrange features, extension cleanup, and large-cluster usage.

### Related projects

- Genders is related to LLNL Livermore Computing tools, hostlist/hostrange utilities, HPC batch systems, cluster boot scripts, and configuration-management systems that consume node role information.

### 来源

- <https://formulae.brew.sh/formula/genders>
- <https://github.com/chaos/genders>
- <https://raw.githubusercontent.com/chaos/genders/master/NEWS>
- <https://raw.githubusercontent.com/chaos/genders/master/README>
- <https://raw.githubusercontent.com/chaos/genders/master/TUTORIAL>


## 安全说明

broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/genders
## 源数据库详情

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

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

- Debian apt - genders - 1.27-3-3.1: normalized package name match | Debian stable package indexes: genders from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | cluster configuration management database tools | https://computing.llnl.gov/linux/genders.html
- Debian apt - libgenders-perl - 1.27-3-3.1: normalized package name match | Debian stable package indexes: libgenders-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | perl interface to the LLNL genders cluster management utilities | https://computing.llnl.gov/linux/genders.html
- Debian apt - libgenders0 - 1.27-3-3.1: normalized package name match | Debian stable package indexes: libgenders0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C library for parsing and querying a genders database | https://computing.llnl.gov/linux/genders.html
- Debian apt - libgenders0-dev - 1.27-3-3.1: normalized package name match | Debian stable package indexes: libgenders0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for parsing and querying a genders database | https://computing.llnl.gov/linux/genders.html
- Ubuntu apt - genders - 1.22-1build8: normalized package name match | Ubuntu 24.04 LTS package indexes: genders from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | cluster configuration management database tools | https://computing.llnl.gov/linux/genders.html
- Ubuntu apt - libgenders-perl - 1.22-1build8: normalized package name match | Ubuntu 24.04 LTS package indexes: libgenders-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | perl interface to the LLNL genders cluster management utilities | https://computing.llnl.gov/linux/genders.html
- Ubuntu apt - libgenders0 - 1.22-1build8: normalized package name match | Ubuntu 24.04 LTS package indexes: libgenders0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C library for parsing and querying a genders database | https://computing.llnl.gov/linux/genders.html
- Ubuntu apt - libgenders0-dev - 1.22-1build8: normalized package name match | Ubuntu 24.04 LTS package indexes: libgenders0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for parsing and querying a genders database | https://computing.llnl.gov/linux/genders.html
- dnf - genders - 1.28.1~^20231119git27b915d-6.fc44: normalized package name match | Fedora Rawhide package metadata: genders from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Static cluster configuration database | https://github.com/chaos/genders
- dnf - genders-compat - 1.28.1~^20231119git27b915d-6.fc44: normalized package name match | Fedora Rawhide package metadata: genders-compat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Compatibility library | https://github.com/chaos/genders
- dnf - genders-java - 1.28.1~^20231119git27b915d-6.fc44: normalized package name match | Fedora Rawhide package metadata: genders-java from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Java libraries | https://github.com/chaos/genders
- dnf - genders-java-devel - 1.28.1~^20231119git27b915d-6.fc44: normalized package name match | Fedora Rawhide package metadata: genders-java-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Java Development libraries | https://github.com/chaos/genders
- dnf - genders-javadoc - 1.28.1~^20231119git27b915d-6.fc44: normalized package name match | Fedora Rawhide package metadata: genders-javadoc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Java Documentation | https://github.com/chaos/genders
- dnf - genders-perl - 1.28.1~^20231119git27b915d-6.fc44: normalized package name match | Fedora Rawhide package metadata: genders-perl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Perl libraries | https://github.com/chaos/genders
- dnf - libgenders - 1.28.1~^20231119git27b915d-6.fc44: normalized package name match | Fedora Rawhide package metadata: libgenders from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Genders libraries | https://github.com/chaos/genders
- dnf - libgenders-devel - 1.28.1~^20231119git27b915d-6.fc44: normalized package name match | Fedora Rawhide package metadata: libgenders-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Genders development libraries | https://github.com/chaos/genders


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [kanif](https://www.automicvault.com/zh-hans/pkg/brew/kanif/) - Shares av.db curated category or tags: cli, cluster-management, system.
- [pdsh](https://www.automicvault.com/zh-hans/pkg/brew/pdsh/) - Shares av.db curated category or tags: cli, cluster-management, system.
- [dsh](https://www.automicvault.com/zh-hans/pkg/brew/dsh/) - Shares av.db curated category or tags: cli, cluster-management, system.
- [freeipmi](https://www.automicvault.com/zh-hans/pkg/brew/freeipmi/) - Shares av.db curated category or tags: cli, hpc, system.
- [abduco](https://www.automicvault.com/zh-hans/pkg/brew/abduco/) - Shares av.db curated category or tags: cli, system.
- [acl](https://www.automicvault.com/zh-hans/pkg/brew/acl/) - Shares av.db curated category or tags: cli, system.
- [acpica](https://www.automicvault.com/zh-hans/pkg/brew/acpica/) - Shares av.db curated category or tags: cli, system.
- [afio](https://www.automicvault.com/zh-hans/pkg/brew/afio/) - Shares av.db curated category or tags: cli, system.
- [bestzip](https://www.automicvault.com/zh-hans/pkg/npm/bestzip/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, database, management, node, system.
- [confd](https://www.automicvault.com/zh-hans/pkg/brew/confd/) - Local package facts share a topical domain. Shared terms: cli, configuration, management, system.

## Combined YAML source

View the package source record on GitHub. [combined/genders.yml](https://github.com/automic-vault/db/blob/main/combined/genders.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
