How To Install heimdal-path on Rocky Linux 8

In this tutorial we learn how to install heimdal-path on Rocky Linux 8. heimdal-path is Heimdal kerberos PATH manipulation

Introduction

In this tutorial we learn how to install heimdal-path on Rocky Linux 8.

What is heimdal-path

This package prepends the Heimdal binary directory to the beginning of PATH.

We can use yum or dnf to install heimdal-path on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install heimdal-path.

Install heimdal-path on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install heimdal-path using dnf by running the following command:

sudo dnf -y install heimdal-path

Install heimdal-path on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install heimdal-path using yum by running the following command:

sudo yum -y install heimdal-path

How To Uninstall heimdal-path on Rocky Linux 8

To uninstall only the heimdal-path package we can use the following command:

sudo dnf remove heimdal-path

heimdal-path Package Contents on Rocky Linux 8

/etc/profile.d/heimdal.csh
/etc/profile.d/heimdal.sh

References

Summary

In this tutorial we learn how to install heimdal-path on Rocky Linux 8 using yum and dnf.