How Do I Install Fortune on Ubuntu?
Contents

How do I run fortune on Ubuntu?

Detailed Instructions:

  1. Run update command to update package repositories and get latest package information.
  2. Run the install command with -y flag to quickly install the packages and dependencies. sudo apt-get install -y fortune.
  3. Check the system logs to confirm that there are no related errors.

How do I install fortune on Linux?

In order to get fortune and cowsay installed on your local Debian-based Linux box, we need to install a few packages with apt :

  1. $ sudo apt-get install fortunes fortune-mod cowsay $ ls /usr/share/games/fortunes $ ls /usr/share/cowsay/cows.
  2. $ apt-cache search fortune $ apt-cache search cowsay.
Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest