pkg.soopen package index

brew / 排名 1879

使用 Homebrew, apk, MacPorts, Nix, zypper 安装 fortune

查看 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
fortune可执行文件已索引可执行文件从本地可执行文件索引发现。
strfile可执行文件已索引可执行文件从本地可执行文件索引发现。
unstr可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本9708
管理器更新时间2026-06-27
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:fortune
版本9708
软件包管理器Homebrew
主页https://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html
最后更新2026-06-27T16:38:50-04:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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.8

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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