How To Install powerline-go on Fedora 36

In this tutorial we learn how to install powerline-go in Fedora 36. powerline-go is A beautiful and useful low-latency prompt for your shell, written in go

Introduction

In this tutorial we learn how to install powerline-go on Fedora 36.

What is powerline-go

A Powerline like prompt for Bash, ZSH and Fish. - Shows some important details about the git/hg branch - Changes color if the last command exited with a failure code - If you’re too deep into a directory tree, shortens the displayed path with an ellipsis - Shows the current Python virtualenv environment - It’s easy to customize and extend.

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

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

sudo dnf -y install powerline-go

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

sudo yum -y install powerline-go

How To Uninstall powerline-go on Fedora 36

To uninstall only the powerline-go package we can use the following command:

sudo dnf remove powerline-go

powerline-go Package Contents on Fedora 36

/usr/bin/powerline-go
/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/b7e153e1300bfd567ab522bdaaa14b362c390f
/usr/share/doc/powerline-go
/usr/share/doc/powerline-go/README.md
/usr/share/licenses/powerline-go
/usr/share/licenses/powerline-go/LICENSE.md

References

Summary

In this tutorial we learn how to install powerline-go on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).