How To Install samba-libs on CentOS 8
Introduction
In this tutorial we learn how to install samba-libs
on CentOS 8.
What is samba-libs
The samba-libs package contains the libraries needed by programs that link against the SMB, RPC and other protocols provided by the Samba suite. samba-libs 4.13.3 3.el8 x86_64 168 k samba-4.13.3-3.el8.src.rpm baseos Samba libraries https GPLv3+ and LGPLv3+ The samba-libs package contains the libraries needed by programs that link against the SMB, RPC and other protocols provided by the Samba suite.
We can use yum
or dnf
to install samba-libs
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install samba-libs.
Install samba-libs on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install samba-libs
using dnf
by running the following command:
sudo dnf -y install samba-libs
Install samba-libs on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install samba-libs
using yum
by running the following command:
sudo yum -y install samba-libs
How To Uninstall samba-libs on CentOS 8
To uninstall only the samba-libs
package we can use the following command:
sudo dnf remove samba-libs
samba-libs Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/c597f2db9d830cd35a0f42596d2d2fed71c463
/usr/lib/.build-id/1c/59baeb393f951555c84ebf602bfe62791d0feb
/usr/lib/.build-id/33
/usr/lib/.build-id/33/f9b964ad31d23e2c49f6160c40a8c757675015
/usr/lib/.build-id/6c/d89b93eef7a6cca1fc8e091fbfb38bf4a2bccc
/usr/lib/.build-id/78
/usr/lib/.build-id/78/b95531bfa218bb492def6118823cfa512b18b5
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/73254d1e328ec9df2fee0e0ba28b42b640b930
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/b6dcad401fede38bcacc99aa835e202204e230
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/a72ff16a6d8b111d41e6811db3174ed235e7c0
/usr/lib64/libdcerpc-samr.so.0
/usr/lib64/libdcerpc-samr.so.0.0.1
/usr/lib64/samba/libLIBWBCLIENT-OLD-samba4.so
/usr/lib64/samba/libauth-unix-token-samba4.so
/usr/lib64/samba/libauth4-samba4.so
/usr/lib64/samba/libdcerpc-samba4.so
/usr/lib64/samba/libshares-samba4.so
/usr/lib64/samba/libsmbpasswdparser-samba4.so
/usr/lib64/samba/libxattr-tdb-samba4.so
/usr/lib/.build-id
/usr/lib/.build-id/29/e555360a3be778ca995ba73a02359b4c45d53c
/usr/lib/.build-id/36/b4021c3e56db64305a911e2beb70f1c6a69c18
/usr/lib/.build-id/38/4552a2dd3901cc0c9ff294bea077ccb6b56223
/usr/lib/.build-id/48
/usr/lib/.build-id/48/7088e88ccbb1fd0ed843b74ba12fc2996ac0fd
/usr/lib/.build-id/59
/usr/lib/.build-id/59/b0bcda99579d5a737c42e0517335a2ab666a15
/usr/lib/.build-id/63
/usr/lib/.build-id/63/1f66f62fe9198c2955bd8637d565327541ab3a
/usr/lib/.build-id/8a/d080f1eda6db0f764922d6e19362a8f70f7feb
/usr/lib/.build-id/ae/9f07d301159ad45bfa732035f5706e5e14056f
/usr/lib/libdcerpc-samr.so.0
/usr/lib/libdcerpc-samr.so.0.0.1
/usr/lib/samba/libLIBWBCLIENT-OLD-samba4.so
/usr/lib/samba/libauth-unix-token-samba4.so
/usr/lib/samba/libauth4-samba4.so
/usr/lib/samba/libdcerpc-samba4.so
/usr/lib/samba/libshares-samba4.so
/usr/lib/samba/libsmbpasswdparser-samba4.so
/usr/lib/samba/libxattr-tdb-samba4.so
References
- [samba-libs website](https://www.samba.org https://www.samba.org)
Summary
In this tutorial we learn how to install samba-libs
on CentOS 8 using yum and dnf.