YUM Client Configuration in RHEL 5
By configuring our system as YUM client, then we don’t want rpm source files. Dependency and rpm files to be installed will be brought from YUM server.
YUM server should configured in that network, by using that YUM server only we have to act as YUM client.
YUM Server IP : 192.168.1.254
In default gpgcheck will be disabled i.e., (gpgcheck=0). If gpgcheck is enabled (gpgcheck=1), then while installing a package it will checks for all dependency and stops the all available packages also.
Listing all yum packages available
Installing yum package
#yum install <package>
#yum install tftp*
#yum install tftp* -y
Installing yum package and giving options while yum package installation itself. Here -y refers yes, while installing package it will asks to continue or not ( yes or no )
#yum remove tftp*
Uninstall the package
Is the specific package is installed or not
#yum list tftp*
tftp 1.6d.rpm installed
( this line will be shown, if the package is already installed)