macOS
brew install fortunelocal Homebrew formula metadata
sudo port install fortuneMacPorts ports tree · games/fortune/Portfile · 来源: api.github.com
安装
brew install fortunelocal Homebrew formula metadata
sudo port install fortuneMacPorts ports tree · games/fortune/Portfile · 来源: api.github.com
sudo apk add fortuneAlpine Linux edge package indexes · fortune · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#fortunenixpkgs package indexes · pkgs/by-name/fo/fortune/package.nix · 来源: api.github.com
sudo zypper install fortuneopenSUSE Tumbleweed package metadata · fortune · 来源: download.opensuse.org
概览
Infamous electronic fortune-cookie generator
历史
`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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fortune | cli | 全局可执行文件 | |
strfile | cli | 全局可执行文件 | |
unstr | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 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 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
fortune
nix profile install nixpkgs#fortunefortune 0.1-r4
Fortune cookie program ported from OpenBSD
https://github.com/ahills/fortune
sudo apk add fortunefortune-doc 0.1-r4
Fortune cookie program ported from OpenBSD (documentation)
https://github.com/ahills/fortune
sudo apk add fortune-docfortune 2.10.0-2.6
Random Saying
ftp://sunsite.unc.edu/pub/Linux/games/amusements/fortune/
sudo zypper install fortunefortune
sudo port install fortune来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.