# fortune mit Homebrew, apk, MacPorts, Nix, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für fortune in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:fortune
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install fortune
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fortune
```

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

### Linux

- apk (92%):

```sh
sudo apk add fortune
```

  Evidenz: Alpine Linux edge package indexes: fortune from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#fortune
```

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

- zypper (92%):

```sh
sudo zypper install fortune
```

  Evidenz: openSUSE Tumbleweed package metadata: fortune from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:fortune
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/fortune>
- **Version:** 9708
- **Quellzusammenfassung:** Infamous electronic fortune-cookie generator
- **Homepage:** <https://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html>
- **Upstream-Dokumentation:** <https://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html>
- **Lizenz:** BSD-4-Clause-UC
- **Quellarchiv:** <https://www.ibiblio.org/pub/linux/games/amusements/fortune/fortune-mod-9708.tar.gz>
- **Zuletzt aktualisiert:** 2026-06-27T16:38:50-04:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- fortune (cli)
- strfile (cli)
- unstr (cli)
- fortune (Alias)
- strfile (Alias)
- unstr (Alias)

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 9708
- Manager aktualisiert: 2026-06-27
- lokale Daten: OK
- Upstream-Repository: https://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

`fortune` is the Unix fortune-cookie command: a terminal program that prints a random quotation from local quote databases. The Homebrew package tracks fortune-mod, the Linux-oriented continuation of the older BSD fortune tradition.

### Projektgeschichte

The current upstream describes fortune-mod as a maintenance version of the Unix `fortune` command. Its README says fortune-mod was originally forked from NetBSD fortune and ported to Linux, then later maintained from a Git import of the 1.99.1 tarball sourced via a Mageia source RPM.

The ibiblio Linux archive preserves a 1997 `fortune-mod-9708.tar.gz` package described as bug fixes and enhancements to NetBSD fortune, strfile, and unstr. The same archive shows surrounding quote collections for different languages and desktop uses, capturing the way fortune files spread as data packages as much as programs.

### Adoptionsgeschichte

fortune-mod became the common `fortune` implementation on Linux distributions. The upstream README documents installation via Fedora, Arch, Alpine, Debian-derived systems, and source builds, and the supplied package facts show package entries across Homebrew, MacPorts, Nix, Alpine, and openSUSE.

### Wie es verwendet wird

The common use is deliberately small: run `fortune` to print a random quote. The package also includes tools such as `strfile` and `unstr` for building and inspecting the indexed `.dat` files used by fortune databases.

### Warum Paket-Nerds sich dafür interessieren

fortune is package-manager folklore: a tiny CLI whose real payload is a corpus of text files, traditionally split into normal, offensive, localized, and site-specific databases. It is useful to package historians because it connects BSD games, Linux distribution patches, data packaging, and terminal culture.

### Zeitleiste

- 1979: The original BSD `fortune` program predates modern scripting-language reimplementations, according to the upstream README.
- 1997: ibiblio archived `fortune-mod-9708.tar.gz` for Linux fortune users.
- 2016: The current `shlomif/fortune-mod` GitHub repository was created.
- 2020: The upstream README credited Shlomi Fish with maintaining fortune-mod from version 2.0.0 onward.
- 2026: GitHub Releases listed fortune-mod 3.26.0.

### Related projects

- The package is related to BSD games, NetBSD fortune, localized fortune collections, Shlomi Fish's fortune cookie files, XML-Grammar-Fortune, and reimplementations in Perl, Python, Go, and Rust that the upstream README lists as alternatives.

### Quellen

- <https://api.github.com/repos/shlomif/fortune-mod>
- <https://api.github.com/repos/shlomif/fortune-mod/releases>
- <https://github.com/shlomif/fortune-mod>
- <https://raw.githubusercontent.com/shlomif/fortune-mod/master/CREDITS.asciidoc>
- <https://raw.githubusercontent.com/shlomif/fortune-mod/master/README.asciidoc>
- <https://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

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

## Andere Paketmanager-Einträge

- Nix - fortune: normalized package name match | nixpkgs package indexes: pkgs/by-name/fo/fortune/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - fortune - 0.1-r4: normalized package name match | Alpine Linux edge package indexes: fortune from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fortune cookie program ported from OpenBSD | https://github.com/ahills/fortune
- apk - fortune-doc - 0.1-r4: normalized package name match | Alpine Linux edge package indexes: fortune-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fortune cookie program ported from OpenBSD (documentation) | https://github.com/ahills/fortune
- zypper - fortune - 2.10.0-2.8: normalized package name match | openSUSE Tumbleweed package metadata: fortune from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Random Saying | ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/
- MacPorts - fortune: normalized package name match | MacPorts ports tree: games/fortune/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/de/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://pkg.so/de/web-dev-tools/) - Matched web development metadata.
- [sl](https://pkg.so/de/brew/sl/) - Shares pkgdb curated category or tags: cli, terminal, toys, unix.
- [kotofetch](https://pkg.so/de/brew/kotofetch/) - Shares pkgdb curated category or tags: cli, quotes, terminal, toys.
- [cowsay](https://pkg.so/de/brew/cowsay/) - Shares pkgdb curated category or tags: cli, terminal, toys.
- [cmatrix](https://pkg.so/de/brew/cmatrix/) - Shares pkgdb curated category or tags: cli, terminal, toys.
- [asciiquarium](https://pkg.so/de/brew/asciiquarium/) - Shares pkgdb curated category or tags: cli, terminal, toys.
- [cbonsai](https://pkg.so/de/brew/cbonsai/) - Shares pkgdb curated category or tags: cli, terminal, toys.
- [ponysay](https://pkg.so/de/brew/ponysay/) - Shares pkgdb curated category or tags: cli, terminal, toys.
- [fakesteak](https://pkg.so/de/brew/fakesteak/) - Shares pkgdb curated category or tags: cli, terminal, toys.

## Combined YAML source

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


## Quellen

- 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
