How To Install cowsay on Rocky Linux 8

In this tutorial we learn how to install cowsay on Rocky Linux 8. cowsay is Configurable speaking/thinking cow

Introduction

In this tutorial we learn how to install cowsay on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install cowsay.

Install cowsay on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8

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

sudo dnf remove cowsay

cowsay Package Contents on Rocky Linux 8

/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/DragonAndCow.pm
/usr/share/cowsay/Example.pm
/usr/share/cowsay/Frogs.pm
/usr/share/cowsay/MechAndCow.pm
/usr/share/cowsay/Stegosaurus.pm
/usr/share/cowsay/TextBalloon.pm
/usr/share/cowsay/TuxStab.pm
/usr/share/cowsay/beavis.zen.cow
/usr/share/cowsay/blowfish.cow
/usr/share/cowsay/bud-frogs.cow
/usr/share/cowsay/bunny.cow
/usr/share/cowsay/cheese.cow
/usr/share/cowsay/cower.cow
/usr/share/cowsay/default.cow
/usr/share/cowsay/dragon-and-cow.cow
/usr/share/cowsay/dragon.cow
/usr/share/cowsay/elephant-in-snake.cow
/usr/share/cowsay/elephant.cow
/usr/share/cowsay/eyes.cow
/usr/share/cowsay/flaming-sheep.cow
/usr/share/cowsay/fox.cow
/usr/share/cowsay/ghostbusters.cow
/usr/share/cowsay/head-in.cow
/usr/share/cowsay/hellokitty.cow
/usr/share/cowsay/kiss.cow
/usr/share/cowsay/kitty.cow
/usr/share/cowsay/koala.cow
/usr/share/cowsay/kosh.cow
/usr/share/cowsay/luke-koala.cow
/usr/share/cowsay/mech-and-cow.cow
/usr/share/cowsay/meow.cow
/usr/share/cowsay/milk.cow
/usr/share/cowsay/moofasa.cow
/usr/share/cowsay/moose.cow
/usr/share/cowsay/mutilated.cow
/usr/share/cowsay/ren.cow
/usr/share/cowsay/sheep.cow
/usr/share/cowsay/skeleton.cow
/usr/share/cowsay/small.cow
/usr/share/cowsay/stegosaurus.cow
/usr/share/cowsay/stimpy.cow
/usr/share/cowsay/supermilker.cow
/usr/share/cowsay/surgery.cow
/usr/share/cowsay/telebears.cow
/usr/share/cowsay/three-eyes.cow
/usr/share/cowsay/turkey.cow
/usr/share/cowsay/turtle.cow
/usr/share/cowsay/tux.cow
/usr/share/cowsay/udder.cow
/usr/share/cowsay/vader-koala.cow
/usr/share/cowsay/vader.cow
/usr/share/cowsay/www.cow
/usr/share/doc/cowsay
/usr/share/doc/cowsay/ChangeLog
/usr/share/doc/cowsay/LICENSE
/usr/share/doc/cowsay/README
/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 Rocky Linux 8 using yum and dnf.