How To Install golang-github-mattn-colorable on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-mattn-colorable on Fedora 36.
What is golang-github-mattn-colorable
Colorable writer for windows. For example, most of logger packages doesn’t show colors on windows. This package is possible to handle escape sequence for ansi color on windows.
We can use yum or dnf to install golang-github-mattn-colorable on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-mattn-colorable.
Install golang-github-mattn-colorable 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-mattn-colorable using dnf by running the following command:
sudo dnf -y install golang-github-mattn-colorable
Install golang-github-mattn-colorable 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-mattn-colorable using yum by running the following command:
sudo yum -y install golang-github-mattn-colorable
How To Uninstall golang-github-mattn-colorable on Fedora 36
To uninstall only the golang-github-mattn-colorable package we can use the following command:
sudo dnf remove golang-github-mattn-colorable
golang-github-mattn-colorable Package Contents on Fedora 36
/usr/bin/colorable
/usr/lib/.build-id
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/a1870a7c535acdca35f0162dc2785568fab2ee
/usr/share/doc/golang-github-mattn-colorable
/usr/share/doc/golang-github-mattn-colorable/README.md
/usr/share/doc/golang-github-mattn-colorable/_example
/usr/share/doc/golang-github-mattn-colorable/_example/escape-seq
/usr/share/doc/golang-github-mattn-colorable/_example/escape-seq/main.go
/usr/share/doc/golang-github-mattn-colorable/_example/logrus
/usr/share/doc/golang-github-mattn-colorable/_example/logrus/main.go
/usr/share/doc/golang-github-mattn-colorable/_example/title
/usr/share/doc/golang-github-mattn-colorable/_example/title/main.go
/usr/share/licenses/golang-github-mattn-colorable
/usr/share/licenses/golang-github-mattn-colorable/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-mattn-colorable on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).