How To Install msktutil on Fedora 34

msktutil is Program for interoperability with Active Directory

Introduction

In this tutorial we learn how to install msktutil on Fedora 34.

What is msktutil

Msktutil is a program for interoperability with Active Directory that can create a computer account in Active Directory, create a system Kerberos keytab, add and remove principals to and from that keytab, and change the computer account’s password.

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

Install msktutil on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install msktutil

Install msktutil on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install msktutil using yum by running the following command:

sudo yum -y install msktutil

How To Uninstall msktutil on Fedora 34

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

sudo dnf remove msktutil

msktutil Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/20c03e42e3b1c941a50a8c6f076589eaf9461e
/usr/sbin/msktutil
/usr/share/doc/msktutil
/usr/share/doc/msktutil/ChangeLog
/usr/share/doc/msktutil/README
/usr/share/licenses/msktutil
/usr/share/licenses/msktutil/LICENSE
/usr/share/man/man1/msktutil.1.gz

References

Summary

In this tutorial we learn how to install msktutil on Fedora 34 using yum and dnf.