Cowsay (or cowthink) will turn text into happy ASCII cows, with speech (or thought) balloons. If you don’t like cows, ASCII art is available to replace it with some other creatures (Tux, the BSD daemon, dragons, and a plethora of animals, from a turkey to an elephant in a snake). I will show you how to install cowsay on Ubuntu 22.04 in this guide.
- Operating system: Ubuntu 22.04 or older Ubuntu versions
- Privileges: Make sure that you can run the sudo commands line.
Install cowsay Ubuntu 22.04
cowsay is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.
Install cowsay using APT
This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these instructions to install cowsay on your Ubuntu 22.04.
Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:
Step 2: Install the package on Ubuntu 22.04. You can now install cowsay Ubuntu by executing this command in the terminal.
Install cowsay using Aptitude
Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.
After that, you can now install cowsay by following these steps:
Step 1: Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:
Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install cowsay Ubuntu by pasting this command into the terminal and executing it.
Uninstall cowsay on Ubuntu 22.04
Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a cowsay.
If you installed cowsay using APT or Aptitude, you could uninstall cowsay on Ubuntu by running this command
To uninstall cowsay and remove its data and dependencies, you can also use the following command:
In this tutorial, I showed you ways to install cowsay on Ubuntu 22.04 and ways to uninstall cowsay too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.