Introduction
In this tutorial we learn how to install caca-utils
on CentOS 8.
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 8. 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 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install caca-utils
using dnf
by running the following command:
sudo dnf -y install caca-utils
Install caca-utils on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install caca-utils
using yum
by running the following command:
sudo yum -y install caca-utils
How To Uninstall caca-utils on CentOS 8
To uninstall only the caca-utils
package we can use the following command:
sudo dnf remove caca-utils
caca-utils Package Contents on CentOS 8
/usr/bin/cacaclock
/usr/bin/cacademo
/usr/bin/cacafire
/usr/bin/cacaplay
/usr/bin/cacaserver
/usr/bin/cacaview
/usr/bin/img2txt
/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/dc375721b25e12f1f5515cb6134bdc31fabe13
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/0046367adbacbc360f33ca9b9375aa5523b777
/usr/lib/.build-id/87
/usr/lib/.build-id/87/6dea0782af6015f5583d944160cef47c07fce6
/usr/lib/.build-id/db
/usr/lib/.build-id/db/36ab5df082ca693346709bfaa12e5e73f800e7
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/730974e971c7053a2a318fa0bfda611918a1f6
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/e38fe218fc2047e439dc3c1483e102d71af9f2
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/0a3efd609f60b9344a4f3ae01094c5f2345cda
/usr/share/doc/caca-utils
/usr/share/doc/caca-utils/AUTHORS
/usr/share/doc/caca-utils/COPYING
/usr/share/doc/caca-utils/COPYING.GPL
/usr/share/doc/caca-utils/COPYING.ISC
/usr/share/doc/caca-utils/COPYING.LGPL
/usr/share/doc/caca-utils/NEWS
/usr/share/doc/caca-utils/NOTES
/usr/share/doc/caca-utils/README
/usr/share/doc/caca-utils/THANKS
/usr/share/libcaca
/usr/share/libcaca/caca.txt
/usr/share/man/man1/cacademo.1.gz
/usr/share/man/man1/cacafire.1.gz
/usr/share/man/man1/cacaplay.1.gz
/usr/share/man/man1/cacaserver.1.gz
/usr/share/man/man1/cacaview.1.gz
/usr/share/man/man1/img2txt.1.gz
References
Summary
In this tutorial we learn how to install caca-utils
on CentOS 8 using yum and dnf.