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

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

## インストール

```sh
sudo av install brew:hercules
```

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

### macOS

- Homebrew (100%):

```sh
brew install hercules
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hercules
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install hercules
```

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

- dnf (92%):

```sh
sudo dnf install hercules
```

  証拠: Fedora Rawhide package metadata: hercules from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#hercules
```

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

## パッケージ情報

- **パッケージキー:** brew:hercules
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.9.1
- **ソース概要:** System/370, ESA/390 and z/Architecture Emulator
- **ホームページ:** <https://sdl-hercules-390.github.io/html/>
- **リポジトリ:** <https://github.com/SDL-Hercules-390/hyperion>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- card2txt (エイリアス)
- cckd2ckd (エイリアス)
- cckd642ckd (エイリアス)
- cckdcdsk (エイリアス)
- cckdcdsk64 (エイリアス)
- cckdcomp (エイリアス)
- cckdcomp64 (エイリアス)
- cckddiag (エイリアス)
- cckddiag64 (エイリアス)
- cckdmap (エイリアス)
- cckdswap (エイリアス)
- cckdswap64 (エイリアス)
- cfba2fba (エイリアス)
- cfba642fba (エイリアス)
- ckd2cckd (エイリアス)
- ckd2cckd64 (エイリアス)
- convto64 (エイリアス)
- dasdcat (エイリアス)
- dasdconv (エイリアス)
- dasdconv64 (エイリアス)
- dasdcopy (エイリアス)
- dasdcopy64 (エイリアス)
- dasdinit (エイリアス)
- dasdinit64 (エイリアス)
- dasdisup (エイリアス)
- dasdlist (エイリアス)
- dasdload (エイリアス)
- dasdload64 (エイリアス)
- dasdls (エイリアス)
- dasdpdsu (エイリアス)
- dasdseq (エイリアス)
- dasdser (エイリアス)
- dmap2hrc (エイリアス)
- fba2cfba (エイリアス)
- fba2cfba64 (エイリアス)
- hercifc (エイリアス)
- herclin (エイリアス)
- hercules (エイリアス)
- hetget (エイリアス)
- hetinit (エイリアス)
- hetmap (エイリアス)
- hetupd (エイリアス)
- maketape (エイリアス)
- tapecopy (エイリアス)
- tapemap (エイリアス)
- tapesplt (エイリアス)
- tfprint (エイリアス)
- tfswap (エイリアス)
- txt2card (エイリアス)
- vmfplc2 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.9.1
## プロジェクトの歴史と使われ方

Hercules is an open source emulator for IBM mainframe architectures: System/370, ESA/390, and z/Architecture. The Homebrew `hercules` package delivers the SDL Hercules 4.x Hyperion line and its collection of emulator, DASD, tape, card, and utility commands.

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

Roger Bowler's history says the idea dated back to 1994, with most of the initial implementation done in 1999. By autumn 1999 Hercules could IPL and run OS/360 MFT and Jan Jaeger's ZZSA standalone program; by early 2000 it could run more ESA/390-era operating systems.

In spring 2000, contributors expanded the project: Jay Maynard added S/370 virtual storage, Jan Jaeger added HMC and dynamic reconfiguration work, Windows ports and front ends broadened access, Debian packaging appeared, and compressed/shared DASD work improved practical use.

The SDL Hercules 4.x Hyperion README describes Hercules as created by Roger Bowler, maintained by Jay Maynard from 2000 to 2012, and advanced by Jan Jaeger through features such as dynamic reconfiguration, integrated console, interpretive execution, and z/Architecture support. The SDL Hyperion line contains fixes and enhancements beyond earlier 3.x and 4.0 versions.

### 採用の歴史

Hercules became important to hobbyists, educators, systems programmers, and preservation-minded users because it made mainframe operating-system practice possible on ordinary host machines. Bowler's history also notes IBM engineers and mainframe specialists using Hercules for testing and demonstrations.

Its adoption is inseparable from legal and operational constraints around mainframe software: Hercules emulates hardware, but users still need operating systems and licenses or public-domain systems they may legally run. That boundary shaped its culture as both a learning tool and a serious emulator.

### 使われ方

A Hercules installation is driven by `hercules.cnf`, which describes CPUs, memory, channels, consoles, DASD, tapes, networking, and peripheral devices. The package includes many utilities for creating, converting, inspecting, and manipulating mainframe disk and tape images.

Users run the emulator to IPL operating systems, operate consoles, attach DASD/tape/card devices, and experiment with S/370, ESA/390, or z/Architecture environments. SDL Hyperion documentation covers installation, operation, networking, automatic operator behavior, tracing, and architecture-specific features.

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

Hercules is a package-manager oddity in the best sense: installing one formula gives a workstation a miniature mainframe lab plus a toolbox for legacy storage media formats. It is not just one command but a cluster of emulator support programs.

For preservation and systems-history users, package-manager availability lowers the barrier to repeatable mainframe experiments. For maintainers, the value is in making a complex C emulator and its utilities reproducible across Unix-like hosts.

### タイムライン

- 1994: Roger Bowler dates the germ of Hercules to this period.
- 1999: Most initial work was done, enough to IPL and run early operating-system workloads.
- 2000: Jay Maynard took over project control; major contributors added S/370 storage, VM/ESA-related support, Windows access, packaging, and DASD work.
- 2001: Hercules implemented z/Architecture support soon after IBM published the architecture manual.
- 2005: Hercules contributors shared the NaSPA Award for Technical Excellence.
- 2016: The SDL-Hercules-390 Hyperion GitHub repository was created for the 4.x Hyperion line.

### Related projects

- SDL Hercules 4.x Hyperion is the maintained line represented by the Homebrew package metadata.
- Earlier Hercules 3.x and 4.0 lines are the historical base described by the Hyperion README.
- IBM System/370, ESA/390, and z/Architecture operating systems and media images are the workloads Hercules exists to emulate, subject to licensing.

### ソース

- <https://api.github.com/repos/SDL-Hercules-390/hyperion>
- <https://github.com/SDL-Hercules-390/hyperion>
- <https://raw.githubusercontent.com/SDL-Hercules-390/hyperion/master/README.md>
- <https://sdl-hercules-390.github.io/html/>
- <https://sdl-hercules-390.github.io/html/hercnew.html>
- <https://www.rogerbowler.fr/hercules.htm>


## セキュリティノート

narrow executable package without higher-risk signals.

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


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

- Unix: hercules.cnf
## 他のパッケージマネージャ記録

- Debian apt - hercules - 3.13-8: normalized package name match | Debian stable package indexes: hercules from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | System/370, ESA/390 and z/Architecture Emulator | http://www.hercules-390.eu/
- Nix - hercules: normalized package name match | nixpkgs package indexes: pkgs/by-name/he/hercules/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - hercules - 3.13-7: normalized package name match | Ubuntu 24.04 LTS package indexes: hercules from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | System/370, ESA/390 and z/Architecture Emulator | http://www.hercules-390.eu/
- dnf - hercules - 3.13-23.fc45: normalized package name match | Fedora Rawhide package metadata: hercules from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Hercules S/370, ESA/390, and z/Architecture emulator | http://www.hercules-390.eu/
- MacPorts - hercules: normalized package name match | MacPorts ports tree: emulators/hercules/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/hercules.yml](https://github.com/mxcl/pkgdb/blob/main/combined/hercules.yml)


## ソース

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