How To Install xcowsay on Fedora 34

xcowsay is Displays a cute cow and message on your desktop

Introduction

In this tutorial we learn how to install xcowsay on Fedora 34.

What is xcowsay

xcowsay displays a cute cow and message on your desktop. The message can be text or images (with xcowdream) xcowsay can run in daemon mode for sending your cow message with DBus. Inspired by the original cowsay.

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

Install xcowsay on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install xcowsay using dnf by running the following command:

sudo dnf -y install xcowsay

Install xcowsay on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install xcowsay using yum by running the following command:

sudo yum -y install xcowsay

How To Uninstall xcowsay on Fedora 34

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

sudo dnf remove xcowsay

xcowsay Package Contents on Fedora 34

/usr/bin/xcowdream
/usr/bin/xcowfortune
/usr/bin/xcowsay
/usr/bin/xcowthink
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/ff5e3e777eccc12fe8494825fb1678739781e2
/usr/share/applications/xcowfortune.desktop
/usr/share/doc/xcowsay
/usr/share/doc/xcowsay/AUTHORS
/usr/share/doc/xcowsay/ChangeLog
/usr/share/doc/xcowsay/NEWS
/usr/share/doc/xcowsay/README
/usr/share/licenses/xcowsay
/usr/share/licenses/xcowsay/COPYING
/usr/share/locale/pt_BR/LC_MESSAGES/xcowsay.mo
/usr/share/locale/ru/LC_MESSAGES/xcowsay.mo
/usr/share/man/man6/xcowsay.6.gz
/usr/share/xcowsay
/usr/share/xcowsay/cow_large.png
/usr/share/xcowsay/cow_med.png
/usr/share/xcowsay/cow_small.png

References

Summary

In this tutorial we learn how to install xcowsay on Fedora 34 using yum and dnf.