# lgeneral を Homebrew, apt, MacPorts でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install lgeneral
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lgeneral
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:lgeneral
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/lgeneral>
- **バージョン:** 1.4.4
- **ソース概要:** Turn-based strategy engine heavily inspired by Panzer General
- **ホームページ:** <https://lgames.sourceforge.io/LGeneral/>
- **上流ドキュメント:** <https://lgames.sourceforge.io/LGeneral/>
- **ライセンス:** GPL-2.0-or-later
- **ソースアーカイブ:** <https://downloads.sourceforge.net/lgeneral/lgeneral/lgeneral-1.4.4.tar.gz>
- **最終更新:** 2026-06-01T15:08:00Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- lgc-pg (cli)
- lged (cli)
- lgeneral (cli)
- ltrextract (cli)
- shptool (cli)
- lgc-pg (エイリアス)
- lged (エイリアス)
- lgeneral (エイリアス)
- ltrextract (エイリアス)
- shptool (エイリアス)

## 依存関係

- gettext
- sdl12-compat

## インストール挙動

- post-install フック: 未定義
- 注意点: 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: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.4.4
- マネージャ更新日: 2026-06-01
- ローカルデータ: OK
- 上流リポジトリ: https://lgames.sourceforge.io/LGeneral/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

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

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.

### 採用の歴史

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.

### 使われ方

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.

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

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [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.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [gettext](https://pkg.so/ja/brew/gettext/) - Runtime dependency declared by Homebrew.
- [sdl12-compat](https://pkg.so/ja/brew/sdl12-compat/) - Runtime dependency declared by Homebrew.
- [fheroes2](https://pkg.so/ja/brew/fheroes2/) - Shares pkgdb curated category or tags: cli, engine, game-engine, games.
- [lcs](https://pkg.so/ja/brew/lcs/) - Shares pkgdb curated category or tags: cli, games, strategy, turn-based-strategy.
- [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.
- [curseofwar](https://pkg.so/ja/brew/curseofwar/) - Shares pkgdb curated category or tags: cli, games, strategy.
- [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.
- [pioneers](https://pkg.so/ja/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/mxcl/pkgdb/blob/main/combined/lgeneral.yml)


## ソース

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