macOS
brew install fortunelocal Homebrew formula metadata
sudo port install fortuneMacPorts ports tree · games/fortune/Portfile · source: api.github.com
brew
Infamous electronic fortune-cookie generator. Version 9708 via Homebrew; verified 2026-06-27.
install
brew install fortunelocal Homebrew formula metadata
sudo port install fortuneMacPorts ports tree · games/fortune/Portfile · source: api.github.com
sudo apk add fortuneAlpine Linux edge package indexes · fortune · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#fortunenixpkgs package indexes · pkgs/by-name/fo/fortune/package.nix · source: api.github.com
sudo zypper install fortuneopenSUSE Tumbleweed package metadata · fortune · source: download.opensuse.org
overview
Infamous electronic fortune-cookie generator
history
`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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
fortune | cli | global executable | |
strfile | cli | global executable | |
unstr | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html
install metadata
| Package key | brew:fortune |
|---|---|
| Version | 9708 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/fortune |
| Homepage | https://www.ibiblio.org/pub/linux/games/amusements/fortune/!INDEX.html |
| Repository | https://github.com/shlomif/fortune-mod |
| Upstream docs | https://github.com/shlomif/fortune-mod#readme |
| License | BSD-4-Clause-UC |
| Source archive | https://www.ibiblio.org/pub/linux/games/amusements/fortune/fortune-mod-9708.tar.gz |
| Last updated | 2026-06-27T16:38:50-04:00 |
| Pulse | updated |
| Bottle | available (on 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 | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 fortunesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.