# Install lgeneral with Homebrew, apt, MacPorts

Turn-based strategy engine heavily inspired by Panzer General. Version 1.4.4 via Homebrew; verified 2026-06-01.

## Install

```sh
sudo av install brew:lgeneral
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lgeneral
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lgeneral
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install lgc-pg
```

  Evidence: Debian stable package indexes: lgc-pg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:lgeneral
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/lgeneral>
- **Version:** 1.4.4
- **Source summary:** Turn-based strategy engine heavily inspired by Panzer General
- **Homepage:** <https://lgames.sourceforge.io/LGeneral/>
- **Upstream docs:** <https://lgames.sourceforge.io/LGeneral>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://downloads.sourceforge.net/lgeneral/lgeneral/lgeneral-1.4.4.tar.gz>
- **Last updated:** 2026-06-01T15:08:00Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- lgc-pg (cli)
- lged (cli)
- lgeneral (cli)
- ltrextract (cli)
- shptool (cli)
- lgc-pg (alias)
- lged (alias)
- lgeneral (alias)
- ltrextract (alias)
- shptool (alias)

## Dependencies

- gettext
- sdl12-compat

## Install behavior

- Post-install hook: not defined
- Caveats: Requires pg-data.tar.gz or the original DOS version of Panzer General. Can be downloaded from https://sourceforge.net/projects/lgeneral/files/lgeneral-data/pg-data.tar.gz/download To install use: lgc-pg -s <pg-data-unzipped-dir> -d $HOMEBREW_PREFIX/opt/lgeneral/share/lgeneral ⚠️ Note: Sound and music are not supported in this build
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.4.4
- Package-manager updated: 2026-06-01
- Local data: ok
- Upstream repository: https://lgames.sourceforge.io/LGeneral/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

LGeneral is an open-source turn-based strategy engine inspired by Panzer General. It packages a retro tactical wargame engine, conversion tools, editor-related utilities, and data workflows around Panzer General-style scenarios and campaigns.

### Project history

The official LGames page describes LGeneral as a turn-based strategy engine heavily inspired by Panzer General, with single scenarios, campaigns, human or AI opponents, entrenchment, defensive fire, supply, weather, reinforcements, and related tactical mechanics.

Its distribution history is unusually tied to data conversion. The official downloads note that the engine requires `pg-data.tar.gz` or the original DOS version of Panzer General, and the formula exposes helper tools such as `lgc-pg`, `lged`, `ltrextract`, and `shptool` alongside the game binary.

### Adoption history

LGeneral has survived as a small open-source game package through SourceForge, Linux distributions, MacPorts, Homebrew, Debian/Ubuntu packages named around `lgc-pg`, and a Flathub package. That cross-packaging pattern is typical for older SDL games kept alive by maintainers and distro archivists.

### How it is used

Players run `lgeneral` for campaigns or scenarios, while package maintainers and users may use the converter tooling to prepare Panzer General-derived data. The official page also points to K.u.k General data as a free stand-alone WWI scenario package.

### Why package nerds care

LGeneral is significant as a preservation package: it keeps a Panzer General-like engine available on Unix-like systems while separating executable code, converted legacy data, free scenario data, and distro packaging. It is the kind of game formula that exists because packaging culture values keeping old engines buildable.

### Timeline

- 2002: The LGames website footer marks the start of the hosted project era.
- 2007-09-27: SourceForge lists the `lgeneral-1.2beta-13` source archive.
- 2010-09-29: SourceForge lists `lgeneral-1.2.tar.gz`.
- 2017-08-27: SourceForge lists `lgeneral-1.4.0.tar.gz`.
- 2021-01-08: SourceForge lists `lgeneral-1.4.4.tar.gz` and a Windows zip.

### Related projects

- LGeneral is related to Panzer General, LGames projects such as LBreakout and LTris, SDL, SDL_mixer, K.u.k General data, Flathub packaging, and old-game data conversion tools.

### Sources

- <https://formulae.brew.sh/formula/lgeneral>
- <https://lgames.sourceforge.io/LGeneral>
- <https://sourceforge.net/projects/lgeneral/rss?path=/lgeneral>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lgeneral
- **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

## Other Package-Manager Records

- Debian apt - lgc-pg - 1.4.4-4: normalized package name match | Debian stable package indexes: lgc-pg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LGeneral converter for Panzer General game data | https://lgames.sourceforge.net
- Debian apt - lgeneral - 1.4.4-4: normalized package name match | Debian stable package indexes: lgeneral from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | strategy game in the tradition of Panzer General | https://lgames.sourceforge.net
- Ubuntu apt - lgc-pg - 1.4.4-2: normalized package name match | Ubuntu 24.04 LTS package indexes: lgc-pg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | LGeneral converter for Panzer General game data | http://lgames.sourceforge.net
- Ubuntu apt - lgeneral - 1.4.4-2: normalized package name match | Ubuntu 24.04 LTS package indexes: lgeneral from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz | strategy game in the tradition of Panzer General | http://lgames.sourceforge.net
- MacPorts - lgeneral: normalized package name match | MacPorts ports tree: games/lgeneral/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Game and emulation packages](https://www.automicvault.com/pkg/game-emulation-tools/) - Matched game or emulation metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [sdl12-compat](https://www.automicvault.com/pkg/brew/sdl12-compat/) - Runtime dependency declared by Homebrew.
- [fheroes2](https://www.automicvault.com/pkg/brew/fheroes2/) - Shares av.db curated category or tags: cli, engine, game-engine, games.
- [lcs](https://www.automicvault.com/pkg/brew/lcs/) - Shares av.db curated category or tags: cli, games, strategy, turn-based-strategy.
- [curseofwar](https://www.automicvault.com/pkg/brew/curseofwar/) - Shares av.db curated category or tags: cli, games, strategy.
- [fairy-stockfish](https://www.automicvault.com/pkg/brew/fairy-stockfish/) - Shares av.db curated category or tags: cli, engine, games.
- [fairymax](https://www.automicvault.com/pkg/brew/fairymax/) - Shares av.db curated category or tags: cli, engine, games.
- [freeciv](https://www.automicvault.com/pkg/brew/freeciv/) - Shares av.db curated category or tags: cli, games, strategy.
- [lc0](https://www.automicvault.com/pkg/brew/lc0/) - Shares av.db curated category or tags: cli, engine, games.
- [stockfish](https://www.automicvault.com/pkg/brew/stockfish/) - Shares av.db curated category or tags: cli, engine, games.
- [pioneers](https://www.automicvault.com/pkg/brew/pioneers/) - Local package facts share a topical domain. Shared terms: based, cli, game, games, gettext.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
