How To Install libsmbclient-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install libsmbclient-devel
on Rocky Linux 8.
What is libsmbclient-devel
The libsmbclient-devel package contains the header files and libraries needed to develop programs that link against the SMB client library in the Samba suite.
We can use yum
or dnf
to install libsmbclient-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libsmbclient-devel.
Install libsmbclient-devel on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libsmbclient-devel
using dnf
by running the following command:
sudo dnf -y install libsmbclient-devel
Install libsmbclient-devel on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libsmbclient-devel
using yum
by running the following command:
sudo yum -y install libsmbclient-devel
How To Uninstall libsmbclient-devel on Rocky Linux 8
To uninstall only the libsmbclient-devel
package we can use the following command:
sudo dnf remove libsmbclient-devel
libsmbclient-devel Package Contents on Rocky Linux 8
/usr/include/samba-4.0/libsmbclient.h
/usr/lib/libsmbclient.so
/usr/lib/pkgconfig/smbclient.pc
/usr/share/man/man7/libsmbclient.7.gz
/usr/include/samba-4.0/libsmbclient.h
/usr/lib64/libsmbclient.so
/usr/lib64/pkgconfig/smbclient.pc
/usr/share/man/man7/libsmbclient.7.gz
References
Summary
In this tutorial we learn how to install libsmbclient-devel
on Rocky Linux 8 using yum and dnf.