Linux : Package package-name.rpm is not signed

By | May 28, 2018

Having the following error trying to install a unsigned package from Yum repository on CentOS/RHEL?

Unless you get an officially signed package(s), you will need to override/accept the installation of unsigned package (if you trust the source/issuer, of course).

If installing a locally located rpm file(s), you may use the command “rpm -ivh package-name.rpm“.

If installing from a repository, you will need to edit  /etc/yum.conf and locate the following parameter :

And change it for :

Then run Yum again to install the desired package. I suggest then to change it back to “gpgcheck=1” once you are done.

Be Sociable, Share!