How To Install cifs-utils on CentOS 7
Introduction
In this tutorial we learn how to install cifs-utils
on CentOS 7.
What is cifs-utils
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
or dnf
to install cifs-utils
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install cifs-utils.
Install cifs-utils on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install cifs-utils
using yum
by running the following command:
Install cifs-utils on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install cifs-utils
using dnf
by running the following command:
How To Uninstall cifs-utils on CentOS 7
To uninstall only the cifs-utils
package we can use the following command:
References
Summary
In this tutorial we learn how to install cifs-utils
on CentOS 7 using yum
and dnf
.