# 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. Also installable with debian: sudo apt install lgc-pg.

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

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

## Package facts

- **Package key:** brew:lgeneral
- **Package manager:** Homebrew
- **Version:** 1.4.4
- **Source summary:** Turn-based strategy engine heavily inspired by Panzer General
- **Homepage:** <https://lgames.sourceforge.io/LGeneral/>
- **Last updated:** 2026-06-01T15:08:00Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.4.4
## 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

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


## Combined YAML source

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


## Sources

- 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
