# fheroes2 を Homebrew, apk, apt, dnf, MacPorts, Nix でインストール

fheroes2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:fheroes2
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install fheroes2
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fheroes2
```

  証拠: MacPorts ports tree: games/fheroes2/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add fheroes2
```

  証拠: Alpine Linux edge package indexes: fheroes2 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install fheroes2
```

  証拠: Debian stable package indexes: fheroes2 from https://deb.debian.org/debian/dists/stable/contrib/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install fheroes2
```

  証拠: Fedora Rawhide package metadata: fheroes2 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#fheroes2
```

  証拠: nixpkgs package indexes: pkgs/by-name/fh/fheroes2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:fheroes2
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/fheroes2>
- **バージョン:** 1.1.17
- **ソース概要:** Recreation of the Heroes of Might and Magic II game engine
- **ホームページ:** <https://ihhub.github.io/fheroes2/>
- **リポジトリ:** <https://github.com/ihhub/fheroes2>
- **上流ドキュメント:** <https://ihhub.github.io/fheroes2/>
- **ライセンス:** GPL-2.0-or-later
- **ソースアーカイブ:** <https://github.com/ihhub/fheroes2/archive/refs/tags/1.1.17.tar.gz>
- **最終更新:** 2026-06-30T15:25:52Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- fheroes2 (cli)
- fheroes2-extract-resources (cli)
- fheroes2-install-demo (cli)
- fheroes2 (エイリアス)
- fheroes2-extract-resources (エイリアス)
- fheroes2-install-demo (エイリアス)

## 依存関係

- innoextract
- sdl2-compat
- sdl2_mixer

## ビルド依存関係

- cmake
- gettext

## インストール挙動

- post-install フック: 未定義
- 注意点: Run fheroes2-install-demo command to download and install all the necessary files from the demo version of the original Heroes of Might and Magic II game. Run fheroes2-extract-resources command to extract all the necessary resource files from a legally purchased copy of the original game. Documentation is available at: $HOMEBREW_CELLAR/fheroes2/1.1.17/share/doc/fheroes2/README.txt
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.1.17
- マネージャ更新日: 2026-06-30
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/ihhub/fheroes2
- 検出された最新: 1.1.17 (最新)
## プロジェクトの歴史と使われ方

fheroes2 is an open-source recreation of the Heroes of Might and Magic II engine. It aims to reproduce the original game while adding modern fixes and improvements such as higher-resolution graphics support, improved AI, gameplay and logic fixes, and user-interface improvements.

### プロジェクトの歴史

The project README says fheroes2 was initially developed on SourceForge. The modern GitHub repository was created in August 2019 and became the center for development, releases, documentation, CI, translations, and website work.

The project is written from scratch and does not provide the original commercial game assets. Its README is explicit that the rights to the original game and resources belong to Ubisoft through the former 3DO Company lineage, and it advises users to buy the original game or use the free demo resources.

The GitHub release stream shows active modern packaging, including a release published on June 30, 2026. The README also documents development guides, graphical asset contribution, translation work, donations, and community channels, which is typical of long-lived open-source game-engine recreations.

### 採用の歴史

fheroes2 is packaged for multiple Unix-like package managers, including Homebrew, Debian/Ubuntu, Fedora, MacPorts, Nix, and Alpine according to the package facts in this batch. Its package appeal comes from letting users install the engine cleanly while supplying original or demo game data separately.

The repository metadata shows several thousand GitHub stars and hundreds of forks during this batch run, which is substantial for a game recreation project with legal separation between engine code and copyrighted assets.

### 使われ方

Users install the engine, then provide Heroes of Might and Magic II data from an original purchase or the free demo. The Homebrew formula exposes `fheroes2` along with helper executables for extracting resources and installing demo data.

The documented Linux configuration path is `$XDG_CONFIG_HOME/fheroes2/fheroes2.cfg`, with a Flatpak-specific path under `~/.var/app/io.github.ihhub.Fheroes2/config/fheroes2/fheroes2.cfg`.

### パッケージ好きにとっての重要性

fheroes2 is package-interesting because it cleanly separates a free engine from non-free game assets. That makes it a familiar pattern for distro maintainers of classic-game recreations: ship the engine, document asset requirements, and avoid bundling copyrighted data.

### タイムライン

- Pre-2019: Project initially developed on SourceForge.
- 2019: Modern GitHub repository created and early GitHub release artifacts published.
- 2026: Version 1.1.17 released, with repository metadata showing continuing active development.

### Related projects

- fheroes2 belongs to the family of open-source engine recreations for classic commercial games, where users combine a free engine with separately obtained original data.

### ソース

- <https://github.com/ihhub/fheroes2>
- <https://api.github.com/repos/ihhub/fheroes2>
- <https://api.github.com/repos/ihhub/fheroes2/releases>
- <https://ihhub.github.io/fheroes2>
- <https://sourceforge.net/projects/fheroes2/>
- <https://formulae.brew.sh/formula/fheroes2>


## セキュリティノート

fheroes2 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。



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

- Linux: $XDG_CONFIG_HOME/fheroes2/fheroes2.cfg, ~/.var/app/io.github.ihhub.Fheroes2/config/fheroes2/fheroes2.cfg
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fheroes2
- **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 - fheroes2 - 1.1.8+dfsg-1: normalized package name match | Debian stable package indexes: fheroes2 from https://deb.debian.org/debian/dists/stable/contrib/binary-amd64/Packages.xz | recreation of the Heroes of Might and Magic II game engine | https://ihhub.github.io/fheroes2/
- Nix - fheroes2: normalized package name match | nixpkgs package indexes: pkgs/by-name/fh/fheroes2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fheroes2 - 1.0.12+dfsg-1: normalized package name match | Ubuntu 24.04 LTS package indexes: fheroes2 from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz | recreation of the Heroes of Might and Magic II game engine | https://ihhub.github.io/fheroes2/
- apk - fheroes2 - 1.1.17-r0: normalized package name match | Alpine Linux edge package indexes: fheroes2 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Recreation of Heroes of Might and Magic II game engine | https://github.com/ihhub/fheroes2
- apk - fheroes2-lang - 1.1.17-r0: normalized package name match | Alpine Linux edge package indexes: fheroes2-lang from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Languages for package fheroes2 | https://github.com/ihhub/fheroes2
- dnf - fheroes2 - 1.1.17-3.fc45: normalized package name match | Fedora Rawhide package metadata: fheroes2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Free implementation of the popular game engine | https://github.com/ihhub/fheroes2
- MacPorts - fheroes2: normalized package name match | MacPorts ports tree: games/fheroes2/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Game and emulation packages](https://pkg.so/ja/game-emulation-tools/) - Matched game or emulation metadata.
- [sdl2-compat](https://pkg.so/ja/brew/sdl2-compat/) - Runtime dependency declared by Homebrew.
- [innoextract](https://pkg.so/ja/brew/innoextract/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/ja/brew/gettext/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/ja/brew/cmake/) - Build dependency declared by Homebrew.
- [lgeneral](https://pkg.so/ja/brew/lgeneral/) - Shares pkgdb curated category or tags: cli, engine, game-engine, games.
- [lc0](https://pkg.so/ja/brew/lc0/) - Shares pkgdb curated category or tags: cli, engine, games.
- [fairymax](https://pkg.so/ja/brew/fairymax/) - Shares pkgdb curated category or tags: cli, engine, games.
- [fairy-stockfish](https://pkg.so/ja/brew/fairy-stockfish/) - Shares pkgdb curated category or tags: cli, engine, games.
- [exult](https://pkg.so/ja/brew/exult/) - Shares pkgdb curated category or tags: cli, game-engine, games, open-source-game.
- [katago](https://pkg.so/ja/brew/katago/) - Shares pkgdb curated category or tags: cli, game-engine, games.
- [corsixth](https://pkg.so/ja/brew/corsixth/) - Shares pkgdb curated category or tags: cli, game-engine, games.
- [instead](https://pkg.so/ja/brew/instead/) - Shares pkgdb curated category or tags: cli, game-engine, games.
- [arx-libertatis](https://pkg.so/ja/brew/arx-libertatis/) - Local package facts share a topical domain. Shared terms: cli, compat, engine, game, game-engine.

## Combined YAML source

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


## ソース

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