Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, pacman 安装 cassandra

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cassandra

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install cassandra

MacPorts ports tree · databases/cassandra/Portfile · 来源: api.github.com

概览

软件包摘要

Eventually consistent, distributed key-value store

命令和别名

  • auditlogviewer
  • cassandra
  • cassandra-stress
  • compaction-stress
  • cqlsh
  • cqlsh.py
  • debug-cql
  • fqltool
  • generatetokens
  • hash_password
  • jmxtool
  • nodetool
  • sstabledump
  • sstableexpiredblockers
  • sstablelevelreset
  • sstableloader
  • sstablemetadata
  • sstableofflinerelevel
  • sstablepartitions
  • sstablerepairedset
  • sstablescrub
  • sstablesplit
  • sstableupgrade
  • sstableutil
  • sstableverify

历史

项目历史与用法

Apache Cassandra is an open-source distributed NoSQL database built for high availability, linear scalability, and fault tolerance on commodity hardware or cloud infrastructure. It is one of the most recognizable databases in the package-manager catalog because a single package ships the server, cqlsh, nodetool, and a large set of SSTable and operations tools.

项目历史

The Apache Cassandra GitHub repository dates to 2009. The official README describes Cassandra as a highly scalable partitioned row store, with partitioning used to distribute data across machines and CQL as a SQL-like query language.

Cassandra's release history spans many major operational changes. Current NEWS and CHANGES files describe work such as transactional cluster metadata, guardrails, repair automation design work, table constraints, role/password policies, and extensive storage-engine and read-path performance improvements.

采用历史

The official project homepage says Cassandra is trusted by thousands of companies for scalability and high availability. Its case studies list very large deployments, including Apple running more than 75,000 nodes, Instagram beginning use in 2012, Netflix managing petabytes of data, and Uber running Cassandra as a service for millions of queries per second and petabytes of data.

Homebrew analytics show 3,989 stable installs in the last 365 days in the formula API, reflecting developer and local-test usage rather than production cluster deployment.

使用方式

The package is used to run Cassandra nodes, start local clusters, interact through `cqlsh`, and administer clusters with tools such as `nodetool`, `sstabledump`, `sstableloader`, and related SSTable utilities. Official docs identify `cassandra.yaml` as the main configuration file and cqlsh as the command-line CQL shell shipped with every Cassandra package.

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

For package maintainers, Cassandra is a heavy, multi-tool Java database package with config files, shell tools, Python cqlsh behavior, and fast-moving runtime requirements. It is a good test of how a package manager handles daemon-oriented software, Java compatibility, CLI shims, configuration defaults, and large upstream release artifacts.

时间线

  • 2009: Apache Cassandra repository created.
  • 2012: Instagram began using Cassandra according to the official case-study page.
  • 2016: Bloomberg quote on the official homepage says its engineers turned to Cassandra that year.
  • 2026: Homebrew formula packages Apache Cassandra 5.0.8.

Related projects

  • CQL and cqlsh are Cassandra's query language and interactive shell surface.
  • Reaper for Apache Cassandra is a related operations tool focused on repair scheduling.
  • Apache Lucene-derived and storage-engine tooling appears around Cassandra indexing and SSTable operations, but Cassandra ships its own administration tools.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Linux
/etc/cassandra/cassandra.yaml
Unix
conf/cassandra.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.cassandra/credentials

可执行文件

已安装的可执行文件

命令类型暴露范围备注
auditlogviewercli全局可执行文件
cassandracli全局可执行文件
cassandra-stresscli全局可执行文件
compaction-stresscli全局可执行文件
cqlshcli全局可执行文件
cqlsh.pycli全局可执行文件
debug-cqlcli全局可执行文件
fqltoolcli全局可执行文件
generatetokenscli全局可执行文件
hash_passwordcli全局可执行文件
jmxtoolcli全局可执行文件
nodetoolcli全局可执行文件
sstabledumpcli全局可执行文件
sstableexpiredblockerscli全局可执行文件
sstablelevelresetcli全局可执行文件
sstableloadercli全局可执行文件
sstablemetadatacli全局可执行文件
sstableofflinerelevelcli全局可执行文件
sstablepartitionscli全局可执行文件
sstablerepairedsetcli全局可执行文件
sstablescrubcli全局可执行文件
sstablesplitcli全局可执行文件
sstableupgradecli全局可执行文件
sstableutilcli全局可执行文件
sstableverifycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本5.0.8
管理器更新时间2026-06-06
本地数据OK
上游not checked
检测到的最新版本未检测到

https://cassandra.apache.org

安装元数据

软件包元数据

软件包键brew:cassandra
版本5.0.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cassandra
主页https://cassandra.apache.org
仓库https://gitbox.apache.org/repos/asf/cassandra.git
上游文档https://cassandra.apache.org/doc/latest
许可证Apache-2.0
源码归档https://www.apache.org/dyn/closer.lua?path=cassandra/5.0.8/apache-cassandra-5.0.8-bin.tar.gz
最后更新2026-06-06T11:29:12Z
Pulseupdated
依赖libev, openjdk@17, python@3.11
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecassandra
Aliases
  • cassandra@5.0
Version Scheme0
Revision0
Conflicts With
  • emqx
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

cassandra

nix profile install nixpkgs#cassandra
  • normalized package name match
  • 匹配方式:Cassandra
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: cassandra from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
pacman95%

perl-geoip 1.51-4

GeoIP Perl API

https://github.com/maxmind/geoip-api-perl

sudo pacman -S perl-geoip
  • License: GPL-1.0-or-later AND Artistic-1.0-Perl
  • Architecture: x86_64
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Cassandra
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: perl-geoip from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

cassandra

sudo port install cassandra
  • normalized package name match
  • 匹配方式:Cassandra
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/cassandra/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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