# 使用 Homebrew, apt 安装 naga

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

## 安装

```sh
sudo av install brew:naga
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install naga
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install libnaga-java
```

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

## 软件包事实

- **软件包键:** brew:naga
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/naga>
- **版本:** 1.0
- **来源摘要:** Terminal implementation of the Snake game
- **主页:** <https://github.com/anayjoshi/naga/>
- **仓库:** <https://github.com/anayjoshi/naga>
- **上游文档:** <https://github.com/anayjoshi/naga>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/anayjoshi/naga/archive/refs/tags/naga-v1.0.tar.gz>
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- naga (cli)
- naga (别名)

## macOS 提供的库

- ncurses

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 1.0
- 本地数据: OK
- 上游仓库: https://github.com/anayjoshi/naga
- 检测到的最新版本: naga-v1.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

This `brew:naga` is the small terminal Snake game by Anay Joshi, not the Rust shader translator. Its GitHub repository was created on June 8, 2014, and the only GitHub release is `naga-v1.0`, also published on June 8, 2014 with the release name `Naga is born!`.

### 项目历史

The available source history is thin: a C terminal game repository, BSD-3-Clause license, a 1.0 release, and repository activity that appears to have stopped after a push on November 4, 2015. The Homebrew formula installs version 1.0 and conflicts with `naga-cli` because both install a binary named `naga`.

### 采用历史

There is no strong evidence of broad adoption. On July 1, 2026 the GitHub API showed 5 stars and 1 fork. Homebrew reported 43 installs over 365 days. This looks like a niche or historical CLI game package kept available because it builds and has a simple standalone binary.

### 使用方式

The practical use is simply launching `naga` in a terminal to play Snake. Package maintainers mostly need to care about the binary-name conflict with `naga-cli`, since the shader translation CLI is a much more active package with the same executable name.

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

Its significance is mostly as a naming collision and package-catalog disambiguation case. Without context, `naga` may mean the terminal game, the Rust shader translation library, or the `naga` binary installed by `naga-cli`.

### 时间线

- 2014-06-08: GitHub repository created.
- 2014-06-08: `naga-v1.0` release published.
- 2015-11-04: last pushed timestamp reported by the GitHub API.
- 2026-07-01: GitHub API showed 5 stars and Homebrew API showed 43 installs over 365 days.

### Related projects

- naga-cli

### 来源

- <https://api.github.com/repos/anayjoshi/naga>
- <https://api.github.com/repos/anayjoshi/naga/releases/latest>
- <https://formulae.brew.sh/api/formula/naga.json>
- <https://formulae.brew.sh/formula/naga>
- <https://github.com/anayjoshi/naga>


## 安全说明

没有找到 naga 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

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

- Debian apt - libnaga-java - 3.0+svn80-5: normalized package name match | Debian stable package indexes: libnaga-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simplified Java NIO asynchronous sockets | https://code.google.com/archive/p/naga/
- Ubuntu apt - libnaga-java - 3.0+svn80-5: normalized package name match | Ubuntu 24.04 LTS package indexes: libnaga-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simplified Java NIO asynchronous sockets | https://code.google.com/archive/p/naga/


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Game and emulation packages](https://www.automicvault.com/zh-hans/pkg/game-emulation-tools/) - Matched game or emulation metadata.
- [avanor](https://www.automicvault.com/zh-hans/pkg/brew/avanor/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [brogue](https://www.automicvault.com/zh-hans/pkg/brew/brogue/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [myman](https://www.automicvault.com/zh-hans/pkg/brew/myman/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [netris](https://www.automicvault.com/zh-hans/pkg/brew/netris/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [nsnake](https://www.automicvault.com/zh-hans/pkg/brew/nsnake/) - Shares av.db curated category or tags: cli, game, games, snake, terminal.
- [pacvim](https://www.automicvault.com/zh-hans/pkg/brew/pacvim/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [rpg-cli](https://www.automicvault.com/zh-hans/pkg/brew/rpg-cli/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [trader](https://www.automicvault.com/zh-hans/pkg/brew/trader/) - Shares av.db curated category or tags: cli, game, games, terminal.
- [gittype](https://www.automicvault.com/zh-hans/pkg/brew/gittype/) - Local package facts share a topical domain. Shared terms: cli, game, games, terminal.

## Combined YAML source

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


## 来源

- Nucleus package database
- 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
