How To Install libsmbclient on Fedora 34
Introduction
In this tutorial we learn how to install libsmbclient
on Fedora 34.
What is libsmbclient
The libsmbclient contains the SMB client library from the Samba suite. libsmbclient 2 4.14.6 0.fc34 x86_64 75 k samba-4.14.6-0.fc34.src.rpm updates The SMB client library https GPLv3+ and LGPLv3+ The libsmbclient contains the SMB client library from the Samba suite.
We can use yum
or dnf
to install libsmbclient
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libsmbclient.
Install libsmbclient on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libsmbclient
using dnf
by running the following command:
sudo dnf -y install libsmbclient
Install libsmbclient on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libsmbclient
using yum
by running the following command:
sudo yum -y install libsmbclient
How To Uninstall libsmbclient on Fedora 34
To uninstall only the libsmbclient
package we can use the following command:
sudo dnf remove libsmbclient
libsmbclient Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/19/22b85dfe783cc14e273ec1959f0ca4527f518d
/usr/lib/libsmbclient.so.0
/usr/lib/libsmbclient.so.0.7.0
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/91be392b0d84e948ddcda7658202bbf54f94a7
/usr/lib64/libsmbclient.so.0
/usr/lib64/libsmbclient.so.0.7.0
/usr/lib/.build-id
/usr/lib/.build-id/68
/usr/lib/.build-id/68/a0ea7db519b149a110a8fa1903f6c4aab05f6e
/usr/lib64/libsmbclient.so.0
/usr/lib64/libsmbclient.so.0.7.0
/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/e959ee9d5d62caeb84c5dc3c9d555ae526a711
/usr/lib/libsmbclient.so.0
/usr/lib/libsmbclient.so.0.7.0
References
- [libsmbclient website](https://www.samba.org https://www.samba.org)
Summary
In this tutorial we learn how to install libsmbclient
on Fedora 34 using yum and dnf.