How To Install cifs-utils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install cifs-utils.x86_64 in Amazon Linux 2. cifs-utils.x86_64 is Utilities for mounting and managing CIFS mounts

Introduction

In this tutorial we learn how to install cifs-utils.x86_64 on Amazon Linux 2.

What is cifs-utils.x86_64

The SMB/CIFS protocol is a standard file sharing protocol widely deployed on Microsoft Windows machines. This package contains tools for mounting shares on Linux using the SMB/CIFS protocol. The tools in this package work in conjunction with support in the kernel to allow one to mount a SMB/CIFS share onto a client and use it as if it were a standard Linux file system.

We can use yum to install cifs-utils.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cifs-utils.x86_64.

Install cifs-utils.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install cifs-utils.x86_64 using yum by running the following command:

sudo yum -y install cifs-utils.x86_64

How To Uninstall cifs-utils.x86_64 on Amazon Linux 2

To uninstall only the cifs-utils.x86_64 package we can use the following command:

sudo yum remove cifs-utils.x86_64

cifs-utils.x86_64 Package Contents on Amazon Linux 2

/etc/cifs-utils/idmap-plugin
/etc/request-key.d/cifs.idmap.conf
/etc/request-key.d/cifs.spnego.conf
/usr/bin/cifscreds
/usr/bin/getcifsacl
/usr/bin/setcifsacl
/usr/lib64/cifs-utils/idmapwb.so
/usr/sbin/cifs.idmap
/usr/sbin/cifs.upcall
/usr/sbin/mount.cifs
/usr/share/man/man1/cifscreds.1.gz
/usr/share/man/man1/getcifsacl.1.gz
/usr/share/man/man1/setcifsacl.1.gz
/usr/share/man/man8/cifs.idmap.8.gz
/usr/share/man/man8/cifs.upcall.8.gz
/usr/share/man/man8/idmapwb.8.gz
/usr/share/man/man8/mount.cifs.8.gz

References

Summary

In this tutorial we learn how to install cifs-utils.x86_64 on Amazon Linux 2 using yum.