Automic VaultAutomic Vault

brew

fortune を Homebrew, apk, MacPorts, Nix, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install fortune

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install fortune

MacPorts ports tree · games/fortune/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add fortune

Alpine Linux edge package indexes · fortune · ソース: dl-cdn.alpinelinux.org

Nix確認済み · 92%
nix profile install nixpkgs#fortune

nixpkgs package indexes · pkgs/by-name/fo/fortune/package.nix · ソース: api.github.com

openSUSE zypper確認済み · 92%
sudo zypper install fortune

openSUSE Tumbleweed package metadata · fortune · ソース: download.opensuse.org

概要

パッケージ概要

Infamous electronic fortune-cookie generator

コマンドとエイリアス

  • fortune
  • strfile
  • unstr

履歴

プロジェクトの歴史と使われ方

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

プロジェクトの歴史

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.

採用の歴史

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.

使われ方

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.

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

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.

タイムライン

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

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 13 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
fortunecliグローバル実行可能ファイル
strfilecliグローバル実行可能ファイル
unstrcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版9708
マネージャ更新日2026-06-27
ローカルデータOK
上流not checked
検出された最新未検出

https://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:fortune
バージョン9708
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/fortune
ホームページhttps://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html
リポジトリhttps://github.com/shlomif/fortune-mod
上流ドキュメントhttps://github.com/shlomif/fortune-mod#readme
ライセンスBSD-4-Clause-UC
ソースアーカイブhttps://www.ibiblio.org/pub/linux/games/amusements/fortune/fortune-mod-9708.tar.gz
最終更新2026-06-27T16:38:50-04:00
Pulseupdated
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefortune
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

fortune

nix profile install nixpkgs#fortune
  • normalized package name match
  • 一致条件: Fortune
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fo/fortune/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

fortune 0.1-r4

Fortune cookie program ported from OpenBSD

https://github.com/ahills/fortune

sudo apk add fortune
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: fortune
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Fortune
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fortune from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

fortune-doc 0.1-r4

Fortune cookie program ported from OpenBSD (documentation)

https://github.com/ahills/fortune

sudo apk add fortune-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: fortune
  • normalized package name match
  • 一致条件: Fortune
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fortune-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
zypper95%

fortune 2.10.0-2.6

Random Saying

ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/

sudo zypper install fortune
  • License: BSD-4-Clause
  • Category: Amusements/Toys/Other
  • Architecture: x86_64
  • Source Package: fortune
  • 2 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Fortune
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: fortune from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

fortune

sudo port install fortune
  • normalized package name match
  • 一致条件: Fortune
MacPorts ports tree · api.github.com · MacPorts ports tree: games/fortune/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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