How To Install cifs-utils on AlmaLinux 8
Introduction
In this tutorial we learn how to install cifs-utils
on AlmaLinux 8.
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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install cifs-utils.
Install cifs-utils on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install cifs-utils
using dnf
by running the following command:
sudo dnf -y install cifs-utils
Install cifs-utils on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install cifs-utils
using yum
by running the following command:
sudo yum -y install cifs-utils
How To Uninstall cifs-utils on AlmaLinux 8
To uninstall only the cifs-utils
package we can use the following command:
sudo dnf remove cifs-utils
References
Summary
In this tutorial we learn how to install cifs-utils
on AlmaLinux 8 using yum and dnf.