How To Install Mount.cifs On CentOS Linux Using Yum

When mounting remote NTFS network shares to a Linux server smbmount used to be used. This command is not used any longer and has been replaced by mount.cifs. If you had previously been using smbmount you should switch to using mount.cifs instead. If you attempt to use smbmount with a newer kernel version you will get the below warning.

WARNING:smbmount is deprecated and not maintained any longer. mount.cifs (mount -t cifs) should be used instead of smbmount.

So if you need to install mount.cifs use the below syntax to install it.


  1. yum install samba samba-devel

If samba is already installed on your Linux server then the above command will upgrade it as well. The samba yum package is what includes mount.cifs.

More information on samba can be obtained using the resources below.

Using Samba: A File and Print Server for Linux, Unix & Mac OS X, 3rd Edition (Paperback)

List Price: $44.99 USD
New From: $22.85 USD In Stock
Used from: $13.63 USD In Stock

Ubuntu 8.10 Linux Bible (Paperback)

List Price: $49.99
New From: $53.84 USD In Stock
Used from: $0.49 USD In Stock