# Install fortune

Infamous electronic fortune-cookie generator. Version 9708 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fortune
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fortune
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: fortune from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:fortune
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/fortune>
- **Version:** 9708
- **Source summary:** Infamous electronic fortune-cookie generator
- **Homepage:** <https://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html>
- **Repository:** <https://github.com/shlomif/fortune-mod>
- **Upstream docs:** <https://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html>
- **License:** BSD-4-Clause-UC
- **Source archive:** <https://www.ibiblio.org/pub/linux/games/amusements/fortune/fortune-mod-9708.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- fortune (cli)
- strfile (cli)
- unstr (cli)
- fortune (alias)
- strfile (alias)
- unstr (alias)

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 9708
- Local data status: ok
- Upstream repository: https://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

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

## Other Package-Manager Records

- 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.6: normalized package name match | openSUSE Tumbleweed package metadata: fortune from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-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


## Related Links

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Game and emulation packages](https://www.automicvault.com/zh-hans/pkg/game-emulation-tools/) - Matched game or emulation metadata.
- [asciiquarium](https://www.automicvault.com/zh-hans/pkg/brew/asciiquarium/) - Shares av.db curated category or tags: cli, games, terminal.
- [tty-solitaire](https://www.automicvault.com/zh-hans/pkg/brew/tty-solitaire/) - Shares av.db curated category or tags: cli, games, terminal.
- [trader](https://www.automicvault.com/zh-hans/pkg/brew/trader/) - Shares av.db curated category or tags: cli, games, terminal.
- [tractorgen](https://www.automicvault.com/zh-hans/pkg/brew/tractorgen/) - Shares av.db curated category or tags: cli, games, terminal.
- [nsnake](https://www.automicvault.com/zh-hans/pkg/brew/nsnake/) - Shares av.db curated category or tags: cli, games, terminal.
- [moon-buggy](https://www.automicvault.com/zh-hans/pkg/brew/moon-buggy/) - Shares av.db curated category or tags: cli, games, terminal.
- [nbsdgames](https://www.automicvault.com/zh-hans/pkg/brew/nbsdgames/) - Shares av.db curated category or tags: cli, games, terminal.
- [c2048](https://www.automicvault.com/zh-hans/pkg/brew/c2048/) - Shares av.db curated category or tags: cli, games, terminal.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
