Disable the public key check for rpm installation
Solution 1:
From yum -h
:
--nogpgcheck disable gpg signature checking
Solution 2:
If you want to disable the GPG validation for the whole Repo, add the following line to the Repo definition in /etc/yum.conf:
gpgcheck=0
If you are installing local RPMs using yum, do as Ignacio says.
Solution 3:
For legacy RPM Linux without yum
use:
rpm -i --nosignature