How To Install caca-utils on CentOS 7

In this tutorial we learn how to install caca-utils on CentOS 7. caca-utils is Colour AsCii Art Text mode graphics utilities based on libcaca

Introduction

In this tutorial we learn how to install caca-utils on CentOS 7.

What is caca-utils

This package contains utilities and demonstration programs for libcaca, the Colour AsCii Art library. cacaview is a simple image viewer for the terminal. It opens most image formats such as JPEG, PNG, GIF etc. and renders them on the terminal using ASCII art. The user can zoom and scroll the image, set the dithering method or enable anti-aliasing. cacaball is a tiny graphic program that renders animated ASCII metaballs on the screen, cacafire is a port of AALib’s aafire and displays burning ASCII art flames, and cacademo is a simple application that shows the libcaca rendering features such as line and ellipses drawing, triangle filling and sprite blitting.

We can use yum or dnf to install caca-utils on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install caca-utils.

Install caca-utils on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install caca-utils using yum by running the following command:

sudo yum -y install caca-utils

Install caca-utils on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install caca-utils

How To Uninstall caca-utils on CentOS 7

To uninstall only the caca-utils package we can use the following command:

sudo dnf remove caca-utils

References

Summary

In this tutorial we learn how to install caca-utils on CentOS 7 using yum and dnf.