How To Install golang-github-tomnomnom-xtermcolor on Fedora 36

In this tutorial we learn how to install golang-github-tomnomnom-xtermcolor in Fedora 36. golang-github-tomnomnom-xtermcolor is Command to convert color.Colour to the nearest xterm/bash/shell color

Introduction

In this tutorial we learn how to install golang-github-tomnomnom-xtermcolor on Fedora 36.

What is golang-github-tomnomnom-xtermcolor

Find the closest xterm color to anything implementing color.Color.

We can use yum or dnf to install golang-github-tomnomnom-xtermcolor on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-tomnomnom-xtermcolor.

Install golang-github-tomnomnom-xtermcolor 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 golang-github-tomnomnom-xtermcolor using dnf by running the following command:

sudo dnf -y install golang-github-tomnomnom-xtermcolor

Install golang-github-tomnomnom-xtermcolor 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 golang-github-tomnomnom-xtermcolor using yum by running the following command:

sudo yum -y install golang-github-tomnomnom-xtermcolor

How To Uninstall golang-github-tomnomnom-xtermcolor on Fedora 36

To uninstall only the golang-github-tomnomnom-xtermcolor package we can use the following command:

sudo dnf remove golang-github-tomnomnom-xtermcolor

golang-github-tomnomnom-xtermcolor Package Contents on Fedora 36

/usr/bin/xtermcolor
/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/4b23811f9a2120a5b1e7e1bacd7ebbb6e6f1b6
/usr/share/doc/golang-github-tomnomnom-xtermcolor
/usr/share/doc/golang-github-tomnomnom-xtermcolor/CHANGELOG.mkd
/usr/share/doc/golang-github-tomnomnom-xtermcolor/README.mkd
/usr/share/doc/golang-github-tomnomnom-xtermcolor/examples
/usr/share/doc/golang-github-tomnomnom-xtermcolor/examples/basic.go
/usr/share/licenses/golang-github-tomnomnom-xtermcolor
/usr/share/licenses/golang-github-tomnomnom-xtermcolor/LICENSE

References

Summary

In this tutorial we learn how to install golang-github-tomnomnom-xtermcolor on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).