How To Install samba-winexe on Rocky Linux 8

In this tutorial we learn how to install samba-winexe on Rocky Linux 8. samba-winexe is Samba Winexe Windows Binary

Introduction

In this tutorial we learn how to install samba-winexe on Rocky Linux 8.

What is samba-winexe

Winexe is a Remote Windows®-command executor

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

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

sudo dnf -y install samba-winexe

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

sudo yum -y install samba-winexe

How To Uninstall samba-winexe on Rocky Linux 8

To uninstall only the samba-winexe package we can use the following command:

sudo dnf remove samba-winexe

samba-winexe Package Contents on Rocky Linux 8

/usr/bin/winexe
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/584d71230be434cd7a62b0946f1202a859206e
/usr/share/man/man1/winexe.1.gz

References

Summary

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