How To Install fortune-mod on Fedora 36
Introduction
In this tutorial we learn how to install fortune-mod
on Fedora 36.
What is fortune-mod
Fortune-mod contains the ever-popular fortune program, which will display quotes or witticisms. Fun-loving system administrators can add fortune to users’ .login files, so that the users get their dose of wisdom each time they log in.
We can use yum
or dnf
to install fortune-mod
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install fortune-mod.
Install fortune-mod on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install fortune-mod
using dnf
by running the following command:
sudo dnf -y install fortune-mod
Install fortune-mod on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install fortune-mod
using yum
by running the following command:
sudo yum -y install fortune-mod
How To Uninstall fortune-mod on Fedora 36
To uninstall only the fortune-mod
package we can use the following command:
sudo dnf remove fortune-mod
fortune-mod Package Contents on Fedora 36
/usr/bin/fortune
/usr/bin/strfile
/usr/bin/unstr
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/28d7999232d4ede010309d6e986075117d970f
/usr/lib/.build-id/af
/usr/lib/.build-id/af/fe60553f371fb887839ed9a59938aec6b1c380
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/9d161fb889042e156011f7fc1db6247194038c
/usr/share/doc/fortune-mod
/usr/share/doc/fortune-mod/ChangeLog
/usr/share/doc/fortune-mod/README
/usr/share/doc/fortune-mod/TODO
/usr/share/games/fortune
/usr/share/games/fortune/art
/usr/share/games/fortune/art.dat
/usr/share/games/fortune/art.u8
/usr/share/games/fortune/ascii-art
/usr/share/games/fortune/ascii-art.dat
/usr/share/games/fortune/ascii-art.u8
/usr/share/games/fortune/bofh-excuses
/usr/share/games/fortune/bofh-excuses.dat
/usr/share/games/fortune/computers
/usr/share/games/fortune/computers.dat
/usr/share/games/fortune/computers.u8
/usr/share/games/fortune/cookie
/usr/share/games/fortune/cookie.dat
/usr/share/games/fortune/cookie.u8
/usr/share/games/fortune/definitions
/usr/share/games/fortune/definitions.dat
/usr/share/games/fortune/definitions.u8
/usr/share/games/fortune/disclaimer
/usr/share/games/fortune/disclaimer.dat
/usr/share/games/fortune/disclaimer.u8
/usr/share/games/fortune/drugs
/usr/share/games/fortune/drugs.dat
/usr/share/games/fortune/drugs.u8
/usr/share/games/fortune/education
/usr/share/games/fortune/education.dat
/usr/share/games/fortune/education.u8
/usr/share/games/fortune/ethnic
/usr/share/games/fortune/ethnic.dat
/usr/share/games/fortune/ethnic.u8
/usr/share/games/fortune/food
/usr/share/games/fortune/food.dat
/usr/share/games/fortune/food.u8
/usr/share/games/fortune/fortunes
/usr/share/games/fortune/fortunes.dat
/usr/share/games/fortune/fortunes.u8
/usr/share/games/fortune/goedel
/usr/share/games/fortune/goedel.dat
/usr/share/games/fortune/goedel.u8
/usr/share/games/fortune/hitchhiker
/usr/share/games/fortune/hitchhiker.dat
/usr/share/games/fortune/humorists
/usr/share/games/fortune/humorists.dat
/usr/share/games/fortune/humorists.u8
/usr/share/games/fortune/humorix-misc
/usr/share/games/fortune/humorix-misc.dat
/usr/share/games/fortune/humorix-stories
/usr/share/games/fortune/humorix-stories.dat
/usr/share/games/fortune/kernelnewbies
/usr/share/games/fortune/kernelnewbies.dat
/usr/share/games/fortune/kids
/usr/share/games/fortune/kids.dat
/usr/share/games/fortune/kids.u8
/usr/share/games/fortune/knghtbrd
/usr/share/games/fortune/knghtbrd.dat
/usr/share/games/fortune/knghtbrd.u8
/usr/share/games/fortune/law
/usr/share/games/fortune/law.dat
/usr/share/games/fortune/law.u8
/usr/share/games/fortune/linux
/usr/share/games/fortune/linux.dat
/usr/share/games/fortune/linux.u8
/usr/share/games/fortune/literature
/usr/share/games/fortune/literature.dat
/usr/share/games/fortune/literature.u8
/usr/share/games/fortune/love
/usr/share/games/fortune/love.dat
/usr/share/games/fortune/love.u8
/usr/share/games/fortune/magic
/usr/share/games/fortune/magic.dat
/usr/share/games/fortune/magic.u8
/usr/share/games/fortune/medicine
/usr/share/games/fortune/medicine.dat
/usr/share/games/fortune/medicine.u8
/usr/share/games/fortune/miscellaneous
/usr/share/games/fortune/miscellaneous.dat
/usr/share/games/fortune/miscellaneous.u8
/usr/share/games/fortune/news
/usr/share/games/fortune/news.dat
/usr/share/games/fortune/news.u8
/usr/share/games/fortune/osfortune
/usr/share/games/fortune/osfortune.dat
/usr/share/games/fortune/paradoxum
/usr/share/games/fortune/paradoxum.dat
/usr/share/games/fortune/paradoxum.u8
/usr/share/games/fortune/people
/usr/share/games/fortune/people.dat
/usr/share/games/fortune/people.u8
/usr/share/games/fortune/perl
/usr/share/games/fortune/perl.dat
/usr/share/games/fortune/perl.u8
/usr/share/games/fortune/pets
/usr/share/games/fortune/pets.dat
/usr/share/games/fortune/pets.u8
/usr/share/games/fortune/platitudes
/usr/share/games/fortune/platitudes.dat
/usr/share/games/fortune/platitudes.u8
/usr/share/games/fortune/politics
/usr/share/games/fortune/politics.dat
/usr/share/games/fortune/politics.u8
/usr/share/games/fortune/pratchett
/usr/share/games/fortune/pratchett.dat
/usr/share/games/fortune/pratchett.u8
/usr/share/games/fortune/riddles
/usr/share/games/fortune/riddles.dat
/usr/share/games/fortune/riddles.u8
/usr/share/games/fortune/rules-of-acquisition
/usr/share/games/fortune/rules-of-acquisition.dat
/usr/share/games/fortune/rules-of-acquisition.u8
/usr/share/games/fortune/science
/usr/share/games/fortune/science.dat
/usr/share/games/fortune/science.u8
/usr/share/games/fortune/songs-poems
/usr/share/games/fortune/songs-poems.dat
/usr/share/games/fortune/songs-poems.u8
/usr/share/games/fortune/sports
/usr/share/games/fortune/sports.dat
/usr/share/games/fortune/sports.u8
/usr/share/games/fortune/startrek
/usr/share/games/fortune/startrek.dat
/usr/share/games/fortune/startrek.u8
/usr/share/games/fortune/tao
/usr/share/games/fortune/tao.dat
/usr/share/games/fortune/tao.u8
/usr/share/games/fortune/translate-me
/usr/share/games/fortune/translate-me.dat
/usr/share/games/fortune/translate-me.u8
/usr/share/games/fortune/wisdom
/usr/share/games/fortune/wisdom.dat
/usr/share/games/fortune/wisdom.u8
/usr/share/games/fortune/work
/usr/share/games/fortune/work.dat
/usr/share/games/fortune/work.u8
/usr/share/games/fortune/zippy
/usr/share/games/fortune/zippy.dat
/usr/share/games/fortune/zippy.u8
/usr/share/licenses/fortune-mod
/usr/share/licenses/fortune-mod/COPYING.txt
/usr/share/man/man1/strfile.1.gz
/usr/share/man/man6/fortune.6.gz
References
Summary
In this tutorial we learn how to install fortune-mod
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).