To install the Samba service and the packages necessary for operation of the Samba service, run one of the following commands depending on the utilized operating system:
yum install samba samba-client samba-winbind samba-winbind-clients krb5-workstation
zypper install samba samba-client samba-winbind
apt-get install samba winbind