# 使用 Homebrew, apt, dnf, MacPorts, Nix 安装 gnu-shogi

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

## 安装

```sh
sudo av install brew:gnu-shogi
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gnu-shogi
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gnushogi
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install gnushogi
```

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

- dnf (92%):

```sh
sudo dnf install gnushogi
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#gnushogi
```

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

## 软件包事实

- **软件包键:** brew:gnu-shogi
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gnu-shogi>
- **版本:** 1.4.2
- **来源摘要:** Japanese Chess
- **主页:** <https://www.gnu.org/software/gnushogi/>
- **上游文档:** <https://www.gnu.org/software/gnushogi/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://ftpmirror.gnu.org/gnu/gnushogi/gnushogi-1.4.2.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gnushogi (cli)
- gnushogi (别名)

## 安装行为

- 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-08-04
- 管理器版本: 1.4.2
- 本地数据: OK
- 上游仓库: https://www.gnu.org/software/gnushogi/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

GNU Shogi is a GNU game engine for shogi, the Japanese chess variant. It plays against a human user or against itself and can run with a text interface or through older graphical frontends.

### 项目历史

GNU's June 1993 bulletin records GNU Shogi as newly added to the Utilities Tape and describes it as a program created by modifying GNU Chess. The same bulletin identifies Matthias Mutz and explains the engine/front-end split between GNU Shogi and GNU XShogi, with XShogi derived from XBoard.

### 采用历史

GNU Shogi represents the GNU Project's early effort to include freely redistributable games as part of a broad Unix-like software environment. Its niche adoption centered on users who wanted a terminal or X Window System shogi opponent, especially on Unix systems where packaged board-game engines and X11 frontends were natural distribution units.

### 使用方式

Practitioners use gnushogi to play shogi against the engine, test positions, run the engine against itself, configure time controls, use opening books, and save or restore games. The manual documents curses, raw text, and xshogi-compatible display modes.

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

GNU Shogi is package-nerd interesting less for broad deployment than for lineage: it is a GNU Chess derivative, an XBoard/XShogi-era Unix game, and a reminder that GNU packages include small interactive programs as well as compilers and shell utilities.

### 时间线

- 1993: GNU's Bulletin listed GNU Shogi among new programs on the Utilities Tape.
- 1993: GNU's Bulletin described GNU Shogi as derived by modifying GNU Chess.
- 2013: The GNU Shogi homepage was written with Savannah, mailing-list, and frontend guidance.
- 2026: The GNU Shogi homepage listed Yann Dirson as maintainer.

### Related projects

- GNU Shogi is related to GNU Chess, GNU XShogi, XBoard, and other Unix board-game engines and frontends.

### 来源

- <https://www.gnu.org/bulletins/bull15.html>
- <https://www.gnu.org/software/gnushogi/>
- <https://www.gnu.org/software/gnushogi/manual/gnushogi.html>


## 安全说明

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:** gnu-shogi
- **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

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

- MacPorts - gnushogi: installed executable or alias match | MacPorts ports tree: games/gnushogi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - gnuminishogi - 1.5~git20140725-2.3: installed executable or alias match | Debian stable package indexes: gnuminishogi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | program to play minishogi, a shogi variant on a 5x5 board | https://www.gnu.org/software/gnushogi/
- Debian apt - gnushogi - 1.5~git20140725-2.3: installed executable or alias match | Debian stable package indexes: gnushogi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | program to play shogi, the Japanese version of chess | https://www.gnu.org/software/gnushogi/
- Nix - gnushogi: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/gn/gnushogi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gnuminishogi - 1.5~git20140725-2.1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: gnuminishogi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | program to play minishogi, a shogi variant on a 5x5 board | https://www.gnu.org/software/gnushogi/
- Ubuntu apt - gnushogi - 1.5~git20140725-2.1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: gnushogi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | program to play shogi, the Japanese version of chess | https://www.gnu.org/software/gnushogi/
- dnf - gnushogi - 1.5-0.26.git5bb0b5b.fc45: installed executable or alias match | Fedora Rawhide package metadata: gnushogi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Shogi, the Japanese version of chess | https://www.gnu.org/software/gnushogi/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Game and emulation packages](https://pkg.so/zh-hans/game-emulation-tools/) - Matched game or emulation metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [gnu-chess](https://pkg.so/zh-hans/brew/gnu-chess/) - Shares pkgdb curated category or tags: board-game, cli, game-engine, games.
- [gnu-go](https://pkg.so/zh-hans/brew/gnu-go/) - Shares pkgdb curated category or tags: board-game, cli, game-engine, games.
- [katago](https://pkg.so/zh-hans/brew/katago/) - Shares pkgdb curated category or tags: cli, game-engine, games.
- [fheroes2](https://pkg.so/zh-hans/brew/fheroes2/) - Shares pkgdb curated category or tags: cli, game-engine, games.
- [corsixth](https://pkg.so/zh-hans/brew/corsixth/) - Shares pkgdb curated category or tags: cli, game-engine, games.
- [instead](https://pkg.so/zh-hans/brew/instead/) - Shares pkgdb curated category or tags: cli, game-engine, games.
- [chocolate-doom](https://pkg.so/zh-hans/brew/chocolate-doom/) - Shares pkgdb curated category or tags: cli, game-engine, games.
- [solarus](https://pkg.so/zh-hans/brew/solarus/) - Shares pkgdb curated category or tags: cli, game-engine, games.
- [freedink](https://pkg.so/zh-hans/brew/freedink/) - Local package facts share a topical domain. Shared terms: cli, engine, game, game-engine, games.

## Combined YAML source

View the package source record on GitHub. [combined/gnu-shogi.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gnu-shogi.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
