How To Install cowsay on Fedora 36

In this tutorial we learn how to install cowsay in Fedora 36. cowsay is Configurable speaking/thinking cow

Introduction

In this tutorial we learn how to install cowsay on Fedora 36.

What is cowsay

cowsay is a configurable talking cow, written in Perl. It operates much as the figlet program does, and it written in the same spirit of silliness. It generates ASCII pictures of a cow with a message. It can also generate pictures of other animals.

We can use yum or dnf to install cowsay on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cowsay.

Install cowsay 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 cowsay using dnf by running the following command:

sudo dnf -y install cowsay

Install cowsay 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 cowsay using yum by running the following command:

sudo yum -y install cowsay

How To Uninstall cowsay on Fedora 36

To uninstall only the cowsay package we can use the following command:

sudo dnf remove cowsay

cowsay Package Contents on Fedora 36

/usr/bin/animalsay
/usr/bin/cowsay
/usr/bin/cowthink
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/cowsay.bashcomp
/usr/share/cowsay
/usr/share/cowsay/cows
/usr/share/cowsay/cows/DragonAndCow.pm
/usr/share/cowsay/cows/Example.pm
/usr/share/cowsay/cows/Frogs.pm
/usr/share/cowsay/cows/MechAndCow.pm
/usr/share/cowsay/cows/Stegosaurus.pm
/usr/share/cowsay/cows/TextBalloon.pm
/usr/share/cowsay/cows/TuxStab.pm
/usr/share/cowsay/cows/beavis.zen.cow
/usr/share/cowsay/cows/blowfish.cow
/usr/share/cowsay/cows/bud-frogs.cow
/usr/share/cowsay/cows/bunny.cow
/usr/share/cowsay/cows/cheese.cow
/usr/share/cowsay/cows/cower.cow
/usr/share/cowsay/cows/default.cow
/usr/share/cowsay/cows/dragon-and-cow.cow
/usr/share/cowsay/cows/dragon.cow
/usr/share/cowsay/cows/elephant-in-snake.cow
/usr/share/cowsay/cows/elephant.cow
/usr/share/cowsay/cows/eyes.cow
/usr/share/cowsay/cows/flaming-sheep.cow
/usr/share/cowsay/cows/fox.cow
/usr/share/cowsay/cows/ghostbusters.cow
/usr/share/cowsay/cows/head-in.cow
/usr/share/cowsay/cows/hellokitty.cow
/usr/share/cowsay/cows/kiss.cow
/usr/share/cowsay/cows/kitty.cow
/usr/share/cowsay/cows/koala.cow
/usr/share/cowsay/cows/kosh.cow
/usr/share/cowsay/cows/llama.cow
/usr/share/cowsay/cows/luke-koala.cow
/usr/share/cowsay/cows/mech-and-cow
/usr/share/cowsay/cows/meow.cow
/usr/share/cowsay/cows/milk.cow
/usr/share/cowsay/cows/moofasa.cow
/usr/share/cowsay/cows/moose.cow
/usr/share/cowsay/cows/mutilated.cow
/usr/share/cowsay/cows/ren.cow
/usr/share/cowsay/cows/sheep.cow
/usr/share/cowsay/cows/skeleton.cow
/usr/share/cowsay/cows/small.cow
/usr/share/cowsay/cows/stegosaurus.cow
/usr/share/cowsay/cows/stimpy.cow
/usr/share/cowsay/cows/supermilker.cow
/usr/share/cowsay/cows/surgery.cow
/usr/share/cowsay/cows/telebears.cow
/usr/share/cowsay/cows/three-eyes.cow
/usr/share/cowsay/cows/turkey.cow
/usr/share/cowsay/cows/turtle.cow
/usr/share/cowsay/cows/tux.cow
/usr/share/cowsay/cows/udder.cow
/usr/share/cowsay/cows/vader-koala.cow
/usr/share/cowsay/cows/vader.cow
/usr/share/cowsay/cows/www.cow
/usr/share/doc/cowsay
/usr/share/doc/cowsay/ChangeLog
/usr/share/doc/cowsay/LICENSE.txt
/usr/share/doc/cowsay/README
/usr/share/doc/cowsay/README.md
/usr/share/man/man1/cowsay.1.gz
/usr/share/man/man1/cowthink.1.gz

References

Summary

In this tutorial we learn how to install cowsay on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).