How To Install starship on Fedora 36

In this tutorial we learn how to install starship in Fedora 36. starship is Minimal, blazing-fast, and infinitely customizable prompt for any shell

Introduction

In this tutorial we learn how to install starship on Fedora 36.

What is starship

Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️.

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

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

sudo dnf -y install starship

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

sudo yum -y install starship

How To Uninstall starship on Fedora 36

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

sudo dnf remove starship

starship Package Contents on Fedora 36

/usr/bin/starship
/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/50ba7c73ed45afb0aebf6ee1b3ba4fb6186b4d
/usr/share/doc/starship
/usr/share/doc/starship/README.md
/usr/share/licenses/starship
/usr/share/licenses/starship/LICENSE

References

Summary

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