How To Install tokei on Fedora 36

In this tutorial we learn how to install tokei in Fedora 36. tokei is Utility that allows you to count code, quickly

Introduction

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

What is tokei

Utility that allows you to count code, quickly.

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

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

sudo dnf -y install tokei

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

sudo yum -y install tokei

How To Uninstall tokei on Fedora 36

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

sudo dnf remove tokei

tokei Package Contents on Fedora 36

/usr/bin/tokei
/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/22d2132448702e570ef46ddea0a24ad309a73e
/usr/share/licenses/tokei
/usr/share/licenses/tokei/LICENCE-APACHE
/usr/share/licenses/tokei/LICENCE-MIT

References

Summary

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