Same as:
1 rpm -ivh package.rpm
2 yum localinstall package.rpm
3 Edit /etc/yum.conf or repository.repo and change the value of gpgcheck from 1 to 0 (!dangerous)