# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 1.4.2
- **来源摘要:** Japanese Chess
- **主页:** <https://www.gnu.org/software/gnushogi/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gnushogi (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.4.2
## 项目历史与用法

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Shogi, the Japanese version of chess | https://www.gnu.org/software/gnushogi/


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
