How To Install colorized-logs on Fedora 36
Introduction
In this tutorial we learn how to install colorized-logs
on Fedora 36.
What is colorized-logs
Some tools like gcc, dmesg, grep –color, colordiff, ccze, etc can enhance their output with color, making reading a lot more pleasant. The difference can be as big as between slogging through twenty pages of a build log to find a failure, and a swift drag of the scroller to do the same within a second. Such colored logs can be usually viewed on a terminal or with “less -R”; this package gives you * ansi2html * ansi2txt * ttyrec2ansi * pipetty terminal; use as a prefix * lesstty
We can use yum
or dnf
to install colorized-logs
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install colorized-logs.
Install colorized-logs on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install colorized-logs
using dnf
by running the following command:
sudo dnf -y install colorized-logs
Install colorized-logs on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install colorized-logs
using yum
by running the following command:
sudo yum -y install colorized-logs
How To Uninstall colorized-logs on Fedora 36
To uninstall only the colorized-logs
package we can use the following command:
sudo dnf remove colorized-logs
colorized-logs Package Contents on Fedora 36
/usr/bin/ansi2html
/usr/bin/ansi2txt
/usr/bin/lesstty
/usr/bin/pipetty
/usr/bin/ttyrec2ansi
/usr/lib/.build-id
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/3e482bccd524f5060dbccf104b16d7ab5f42c3
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/dcbd9ad120a387350fad33f53e0f282bd8d648
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/c70fc394cbf7194956282b46af95fa84c177eb
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/901fa4de1f4b5793c7d6692f1bcd86a50f87e1
/usr/share/doc/colorized-logs
/usr/share/doc/colorized-logs/ChangeLog
/usr/share/doc/colorized-logs/README
/usr/share/licenses/colorized-logs
/usr/share/licenses/colorized-logs/LICENSE
/usr/share/man/man1/ansi2html.1.gz
/usr/share/man/man1/ansi2txt.1.gz
/usr/share/man/man1/lesstty.1.gz
/usr/share/man/man1/pipetty.1.gz
/usr/share/man/man1/ttyrec2ansi.1.gz
References
Summary
In this tutorial we learn how to install colorized-logs
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).