# 使用 Homebrew, apk, apt, dnf, Nix, zypper, winget 安装 cdogs-sdl

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

## 安装

```sh
sudo av install brew:cdogs-sdl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cdogs-sdl
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cdogs-sdl
```

  证据: Alpine Linux edge package indexes: cdogs-sdl from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install cdogs-sdl
```

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

- dnf (92%):

```sh
sudo dnf install cdogs-sdl
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#cdogs-sdl
```

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

- zypper (92%):

```sh
sudo zypper install cdogs-sdl
```

  证据: openSUSE Tumbleweed package metadata: cdogs-sdl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id CongusBongus.CDogsSDL -e
```

  证据: Windows Package Manager source index: CongusBongus.CDogsSDL from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:cdogs-sdl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cdogs-sdl>
- **版本:** 2.4.0
- **来源摘要:** Classic overhead run-and-gun game
- **主页:** <https://cxong.github.io/cdogs-sdl/>
- **仓库:** <https://github.com/cxong/cdogs-sdl>
- **上游文档:** <https://cxong.github.io/cdogs-sdl>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/cxong/cdogs-sdl/archive/refs/tags/2.4.0.tar.gz>
- **最后更新:** 2026-06-18T02:28:55-04:00
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

- cdogs-sdl (cli)
- cdogs-sdl-editor (cli)
- cdogs-sdl (别名)
- cdogs-sdl-editor (别名)

## 依赖

- python@3.14
- sdl2-compat
- sdl2_image
- sdl2_mixer

## 构建依赖

- cmake
- pkgconf
- protobuf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-10
- 管理器版本: 2.4.0
- 管理器更新时间: 2026-06-18
- 本地数据: OK
- 上游仓库: https://github.com/cxong/cdogs-sdl
- 检测到的最新版本: 2.4.0 (当前)
## 项目历史与用法

C-Dogs SDL is the modern open source SDL port of C-Dogs, a freeware DOS overhead run-and-gun game by Ronny Wester. The upstream README frames the project as both a preservation port and an actively maintained game with co-op, deathmatch, modding, and user-created campaigns.

### 项目历史

The bundled original C-Dogs readme identifies C-Dogs v1.06 as a freeware DOS game copyrighted 1997-2001 by Ronny Wester. The C-Dogs SDL README says Wester released the source code in 2002, after which Jeremy Chin and Lucas Martin-King ported it to SDL for modern PCs.

The current project is maintained by Cong Xu and contributors, who have kept the game compatible with Windows, Linux, and macOS while adding campaigns, maps, multiplayer improvements, and a level editor.

### 采用历史

The project remains a niche but durable open source game package. The supplied package-manager metadata lists it across Alpine, Homebrew, Debian, Fedora, Nix, Ubuntu, winget, and openSUSE, showing the kind of cross-distro preservation footprint package maintainers care about.

### 使用方式

Users launch the game with cdogs-sdl and can use cdogs-sdl-editor for campaign and map editing. Upstream documentation points players to GitHub releases, itch.io downloads, custom campaigns, and a getting-started wiki for building with SDL2.

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

C-Dogs SDL is a tidy example of game preservation in package-manager form: a DOS freeware title became a source-available SDL game, gained portable builds, and now ships as a small native package rather than an emulator-only artifact.

### 时间线

- 1997-2001: Original C-Dogs freeware DOS game developed by Ronny Wester.
- 2002: Original source released and picked up for SDL porting, according to the upstream README.
- 2013: GitHub releases show C-Dogs SDL 0.4.5 published on 2013-07-25.
- 2026: Official site shows ongoing release/news activity, including 2.4.0-era content.

### Related projects

- Cyberdogs preceded C-Dogs in Ronny Wester's DOS game lineage.
- SDL2 is the portability layer used by the modern port.

### 来源

- <https://api.github.com/repos/cxong/cdogs-sdl>
- <https://github.com/cxong/cdogs-sdl>
- <https://cxong.github.io/cdogs-sdl/>
- <https://cxong.github.io/cdogs-sdl>
- <https://github.com/cxong/cdogs-sdl#readme>
- <https://formulae.brew.sh/api/formula/cdogs-sdl.json>
- <https://api.github.com/repos/cxong/cdogs-sdl/releases>
- <https://raw.githubusercontent.com/cxong/cdogs-sdl/master/doc/original_readme.txt>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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

- Unix: $XDG_CONFIG_HOME/cdogs-sdl/options.cnf, ~/.config/cdogs-sdl/options.cnf
- Windows: %AppData%\C-Dogs SDL\options.cnf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cdogs-sdl
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - cdogs-sdl - 2.1.0+dfsg-2+b2: normalized package name match | Debian stable package indexes: cdogs-sdl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | classic overhead run-and-gun game | https://cxong.github.io/cdogs-sdl/
- Debian apt - cdogs-sdl-data - 2.1.0+dfsg-2: normalized package name match | Debian stable package indexes: cdogs-sdl-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | classic overhead run-and-gun game - data files | https://cxong.github.io/cdogs-sdl/
- Nix - cdogs-sdl: normalized package name match | nixpkgs package indexes: pkgs/by-name/cd/cdogs-sdl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cdogs-sdl - 2.0.0+dfsg-1: normalized package name match | Ubuntu 24.04 LTS package indexes: cdogs-sdl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | classic overhead run-and-gun game | https://cxong.github.io/cdogs-sdl/
- Ubuntu apt - cdogs-sdl-data - 2.0.0+dfsg-1: normalized package name match | Ubuntu 24.04 LTS package indexes: cdogs-sdl-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | classic overhead run-and-gun game - data files | https://cxong.github.io/cdogs-sdl/
- apk - cdogs-sdl - 2.3.2-r0: normalized package name match | Alpine Linux edge package indexes: cdogs-sdl from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Classic overhead run-and-gun game | https://cxong.github.io/cdogs-sdl/
- dnf - cdogs-sdl - 0.7.3-17.fc44: normalized package name match | Fedora Rawhide package metadata: cdogs-sdl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | C-Dogs is an arcade shoot-em-up | http://cxong.github.io/cdogs-sdl/
- zypper - cdogs-sdl - 2.4.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: cdogs-sdl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Classic overhead run-and-gun game | https://cxong.github.io/cdogs-sdl
- winget - CongusBongus.CDogsSDL: normalized package name match | Windows Package Manager source index: CongusBongus.CDogsSDL from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [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.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [sdl2-compat](https://www.automicvault.com/zh-hans/pkg/brew/sdl2-compat/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [protobuf](https://www.automicvault.com/zh-hans/pkg/brew/protobuf/) - Build dependency declared by Homebrew.
- [sdlpop](https://www.automicvault.com/zh-hans/pkg/brew/sdlpop/) - Shares av.db curated category or tags: cli, game, games, sdl.
- [seven-kingdoms](https://www.automicvault.com/zh-hans/pkg/brew/seven-kingdoms/) - Shares av.db curated category or tags: cli, game, games, sdl.
- [allureofthestars](https://www.automicvault.com/zh-hans/pkg/brew/allureofthestars/) - Shares av.db curated category or tags: cli, game, games.
- [angband](https://www.automicvault.com/zh-hans/pkg/brew/angband/) - Shares av.db curated category or tags: cli, game, games.
- [avanor](https://www.automicvault.com/zh-hans/pkg/brew/avanor/) - Shares av.db curated category or tags: cli, game, games.
- [ballerburg](https://www.automicvault.com/zh-hans/pkg/brew/ballerburg/) - Shares av.db curated category or tags: cli, game, games.
- [bastet](https://www.automicvault.com/zh-hans/pkg/brew/bastet/) - Shares av.db curated category or tags: cli, game, games.
- [brogue](https://www.automicvault.com/zh-hans/pkg/brew/brogue/) - Shares av.db curated category or tags: cli, game, games.
- [enigma](https://www.automicvault.com/zh-hans/pkg/brew/enigma/) - Both packages work with overlapping file formats or content types. Shared terms: cli, compat, game, games, image.
- [cataclysm](https://www.automicvault.com/zh-hans/pkg/brew/cataclysm/) - Both packages work with overlapping file formats or content types. Shared terms: cli, compat, game, games, image.
- [instead](https://www.automicvault.com/zh-hans/pkg/brew/instead/) - Both packages work with overlapping file formats or content types. Shared terms: cli, compat, game, games, image.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
