# Install fheroes2

Recreation of the Heroes of Might and Magic II game engine. Version 1.1.16 via Homebrew; verified 2026-05-17.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fheroes2
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fheroes2
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: Fedora Rawhide package metadata: fheroes2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#fheroes2
```

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

## Package Facts

- **Package key:** brew:fheroes2
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/fheroes2>
- **Version:** 1.1.16
- **Source summary:** Recreation of the Heroes of Might and Magic II game engine
- **Homepage:** <https://ihhub.github.io/fheroes2/>
- **Repository:** <https://github.com/ihhub/fheroes2>
- **Upstream docs:** <https://github.com/ihhub/fheroes2#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://github.com/ihhub/fheroes2/archive/refs/tags/1.1.16.tar.gz>
- **Last updated:** 2026-05-17T19:13:26Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- fheroes2 (cli)
- fheroes2-extract-resources (cli)
- fheroes2-install-demo (cli)
- fheroes2 (alias)
- fheroes2-extract-resources (alias)
- fheroes2-install-demo (alias)

## Dependencies

- innoextract
- sdl2
- sdl2_mixer

## Build Dependencies

- cmake
- gettext

## Install Behavior

- Post-install hook: not defined
- Caveats: 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.16/share/doc/fheroes2/README.txt
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 1.1.16
- Package-manager updated: 2026-05-17
- Local data status: ok
- Upstream repository: https://github.com/ihhub/fheroes2
- Upstream latest detected: 1.1.16 (current)

## Notes de sécurité

no executable entrypoint in the package index.

- **Geiger risk:** green / low
- no executable entrypoint in the package index

## Source Database Details

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

## Other Package-Manager Records

- 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.16-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.16-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.16-1.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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-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


## Related Links

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

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
