How To Install grc on Fedora 34

grc is Generic Colorizer

Introduction

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

What is grc

Generic Colorizer is yet another colorizer for beautifying your log files or output of commands.

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

Install grc 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 grc using dnf by running the following command:

sudo dnf -y install grc

Install grc 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 grc using yum by running the following command:

sudo yum -y install grc

How To Uninstall grc on Fedora 34

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

sudo dnf remove grc

grc Package Contents on Fedora 34

/etc/grc.conf
/etc/grc.fish
/etc/grc.zsh
/etc/profile.d/grc.sh
/usr/bin/grc
/usr/bin/grcat
/usr/share/doc/grc
/usr/share/doc/grc/CHANGES
/usr/share/doc/grc/CREDITS
/usr/share/doc/grc/README.markdown
/usr/share/doc/grc/Regexp.txt
/usr/share/doc/grc/TODO
/usr/share/grc
/usr/share/grc/conf.ant
/usr/share/grc/conf.blkid
/usr/share/grc/conf.configure
/usr/share/grc/conf.cvs
/usr/share/grc/conf.df
/usr/share/grc/conf.diff
/usr/share/grc/conf.dig
/usr/share/grc/conf.dnf
/usr/share/grc/conf.docker-machinels
/usr/share/grc/conf.dockerimages
/usr/share/grc/conf.dockerinfo
/usr/share/grc/conf.dockernetwork
/usr/share/grc/conf.dockerps
/usr/share/grc/conf.dockerpull
/usr/share/grc/conf.dockersearch
/usr/share/grc/conf.dockerversion
/usr/share/grc/conf.du
/usr/share/grc/conf.env
/usr/share/grc/conf.esperanto
/usr/share/grc/conf.fdisk
/usr/share/grc/conf.findmnt
/usr/share/grc/conf.free
/usr/share/grc/conf.gcc
/usr/share/grc/conf.getfacl
/usr/share/grc/conf.getsebool
/usr/share/grc/conf.id
/usr/share/grc/conf.ifconfig
/usr/share/grc/conf.iostat_sar
/usr/share/grc/conf.ip
/usr/share/grc/conf.ipaddr
/usr/share/grc/conf.ipneighbor
/usr/share/grc/conf.iproute
/usr/share/grc/conf.iptables
/usr/share/grc/conf.irclog
/usr/share/grc/conf.iwconfig
/usr/share/grc/conf.jobs
/usr/share/grc/conf.last
/usr/share/grc/conf.ldap
/usr/share/grc/conf.log
/usr/share/grc/conf.lolcat
/usr/share/grc/conf.ls
/usr/share/grc/conf.lsattr
/usr/share/grc/conf.lsblk
/usr/share/grc/conf.lsmod
/usr/share/grc/conf.lsof
/usr/share/grc/conf.lspci
/usr/share/grc/conf.mount
/usr/share/grc/conf.mtr
/usr/share/grc/conf.mvn
/usr/share/grc/conf.netstat
/usr/share/grc/conf.nmap
/usr/share/grc/conf.ntpdate
/usr/share/grc/conf.php
/usr/share/grc/conf.ping
/usr/share/grc/conf.ping2
/usr/share/grc/conf.proftpd
/usr/share/grc/conf.ps
/usr/share/grc/conf.pv
/usr/share/grc/conf.semanageboolean
/usr/share/grc/conf.semanagefcontext
/usr/share/grc/conf.semanageuser
/usr/share/grc/conf.sensors
/usr/share/grc/conf.showmount
/usr/share/grc/conf.sql
/usr/share/grc/conf.ss
/usr/share/grc/conf.stat
/usr/share/grc/conf.sysctl
/usr/share/grc/conf.systemctl
/usr/share/grc/conf.tcpdump
/usr/share/grc/conf.traceroute
/usr/share/grc/conf.tune2fs
/usr/share/grc/conf.ulimit
/usr/share/grc/conf.uptime
/usr/share/grc/conf.vmstat
/usr/share/grc/conf.wdiff
/usr/share/grc/conf.whois
/usr/share/licenses/grc
/usr/share/licenses/grc/COPYING
/usr/share/man/man1/grc.1.gz
/usr/share/man/man1/grcat.1.gz

References

Summary

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