How To Install golang-github-mgutz-ansi on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-mgutz-ansi
on Fedora 36.
What is golang-github-mgutz-ansi
Package Ansi is a small, fast library to create ANSI colored strings and codes.
We can use yum
or dnf
to install golang-github-mgutz-ansi
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-mgutz-ansi.
Install golang-github-mgutz-ansi 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-mgutz-ansi
using dnf
by running the following command:
sudo dnf -y install golang-github-mgutz-ansi
Install golang-github-mgutz-ansi 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-mgutz-ansi
using yum
by running the following command:
sudo yum -y install golang-github-mgutz-ansi
How To Uninstall golang-github-mgutz-ansi on Fedora 36
To uninstall only the golang-github-mgutz-ansi
package we can use the following command:
sudo dnf remove golang-github-mgutz-ansi
golang-github-mgutz-ansi Package Contents on Fedora 36
/usr/bin/ansi-mgutz
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/2f33d20553b7fb4d08aeab8e5e3c8871692f74
/usr/share/doc/golang-github-mgutz-ansi
/usr/share/doc/golang-github-mgutz-ansi/README.md
/usr/share/licenses/golang-github-mgutz-ansi
/usr/share/licenses/golang-github-mgutz-ansi/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-mgutz-ansi
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).