How To Install Fortune In Debian, Ubuntu, Arch, Kali, Fedora And Raspbian?

How To Install Fortune In Debian, Ubuntu, Arch, Kali, Fedora And Raspbian?

fortune

Print a random quotation (fortune-cookie style).

Maintainer: Debian QA Group



Section: utils

Install fortune

  • Debian apt-get install 9base Click to copy
  • Ubuntu apt-get install 9base Click to copy
  • Arch Linux pacman -S 9base Click to copy
  • Kali Linux apt-get install 9base Click to copy
  • Fedora dnf install fortune-mod Click to copy
  • Raspbian apt-get install 9base Click to copy

Print a random quotation (fortune-cookie style).

How to use fortune?

Below are few example commands for fortune that you can use in the terminal.

Print a quotation:
fortuneClick to copy
Print an offensive quotation:
fortune -oClick to copy
Print a long quotation:
fortune -lClick to copy
Print a short quotation:
fortune -sClick to copy
List the available quotation database files:
fortune -fClick to copy
Print a quotation from one of the database files listed by `fortune -f`:
fortune filenameClick to copy
Installing fortune command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of fortune 2026 package in your OS.