# 使用 Homebrew, Nix 安装 classads

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

## 安装

```sh
sudo av install brew:classads
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install classads
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#classads
```

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

## 软件包事实

- **软件包键:** brew:classads
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/classads>
- **版本:** 1.0.10
- **来源摘要:** Classified Advertisements (used by HTCondor Central Manager)
- **主页:** <https://research.cs.wisc.edu/htcondor/classad/>
- **仓库:** <https://github.com/htcondor/htcondor>
- **上游文档:** <https://htcondor.org/classad/c%2B%2Bdoc>
- **许可证:** Apache-2.0
- **源码归档:** <https://ftp.cs.wisc.edu/condor/classad/c++/classads-1.0.10.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- classad_functional_tester (cli)
- classad_functional_tester_ns (cli)
- classad_version (cli)
- classad_version_ns (cli)
- cxi (cli)
- cxi_ns (cli)
- classad_functional_tester (别名)
- classad_functional_tester_ns (别名)
- classad_version (别名)
- classad_version_ns (别名)
- cxi (别名)
- cxi_ns (别名)

## 构建依赖

- autoconf
- automake
- libtool

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.0.10
- 本地数据: OK
- 上游仓库: https://research.cs.wisc.edu/htcondor/classad/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

ClassAds are HTCondor's classified advertisement language and matching mechanism for describing jobs, machines, submitters, resources, and constraints in high-throughput computing systems.

### 项目历史

The official ClassAds page describes ClassAds as the lingua franca of HTCondor, exchanged by HTCondor processes to describe jobs, workstations, and other resources. The same page states that the ClassAd library is also available as a standalone package outside HTCondor.

HTCondor documentation records a transition from Old ClassAds to New ClassAds: Old ClassAds were tied to HTCondor development libraries, New ClassAds added features and were designed as a standalone library, and HTCondor switched to the New ClassAd library in version 7.5.1.

### 采用历史

The standalone C++ ClassAd distribution has official release history from 0.9.6 in October 2004 through 1.0.10 in April 2011. Homebrew packages that standalone tarball as classads 1.0.10 and reported 101 installs over the prior 365 days.

### 使用方式

ClassAds are used for matchmaking: a job ClassAd and a machine ClassAd can refer to one another while expressions evaluate whether constraints are satisfied. The Homebrew package exposes small C++ library utilities such as cxi and classad_version.

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

ClassAds is package-nerd interesting because Homebrew preserves a standalone slice of HTCondor's scheduler expression language as a small C++ package, separate from the much larger HTCondor system.

### 时间线

- 2004: Official standalone C++ library version 0.9.6 released.
- 2010: HTCondor 7.5.1 switched to the New ClassAd library.
- 2011: Official standalone C++ library version 1.0.10 released.
- 2026: Homebrew formula metadata lists classads 1.0.10 as stable.

### Related projects

- ClassAds are part of the HTCondor software suite and are also documented in the HTCondor manual.
- The official ClassAds page references Java implementations and ClassAd language papers/specifications alongside the C++ library.

### 来源

- <https://htcondor.org/classad/classad.html>
- <https://htcondor.org/classad/c%2B%2Bdoc>
- <https://htcondor.readthedocs.io/en/latest/classads/classad-mechanism.html>
- <https://api.github.com/repos/htcondor/htcondor>
- <https://formulae.brew.sh/api/formula/classads.json>


## 安全说明

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:** classads
- **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

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

- Nix - classads: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/classads/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [autoconf](https://www.automicvault.com/zh-hans/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/zh-hans/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/zh-hans/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [snort](https://www.automicvault.com/zh-hans/pkg/brew/snort/) - Shares av.db curated category or tags: cli, scheduling, system.
- [resticprofile](https://www.automicvault.com/zh-hans/pkg/brew/resticprofile/) - Shares av.db curated category or tags: cli, scheduler, 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.
- [afsctool](https://www.automicvault.com/zh-hans/pkg/brew/afsctool/) - Shares av.db curated category or tags: cli, system.
- [afuse](https://www.automicvault.com/zh-hans/pkg/brew/afuse/) - Shares av.db curated category or tags: cli, system.
- [btop](https://www.automicvault.com/zh-hans/pkg/brew/btop/) - Local package facts share a topical domain. Shared terms: cli, resource, system, version.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
