Pages

Friday, 4 October 2019

EX300 - Install the packages needed to provide the service

0. Online Help

man yum
man rpm

1. Cheat-Sheet

Besides yum install and yum remove:

# find what package contains a given file (eg. mount.cifs)
yum provides */mount.cifs

# find what package installed a given file
rpm -qf /etc/samba/smb.conf

# list all files installed by a given package (e.g. samba)
rpm -ql samba

# list packages with part of their names (e.g. cifs)
yum list | grep cifs




No comments:

Post a Comment