RPMfusion installation in RHEL8

Latest response

I was going through installation article on rpmfusion official site. It is asking to use --nogpgcheck option. Is it good idea to do that? If I am not using that option, RHEL8 is throughing exception

warning: /var/cache/dnf/commandline-a76fe31ae310b0c7/packages/rpmfusion-free-release-8.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID 158b3811: NOKEY
warning: /var/cache/dnf/commandline-a76fe31ae310b0c7/packages/rpmfusion-nonfree-release-8.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID bdda8475: NOKEY
Public key for rpmfusion-free-release-8.noarch.rpm is not installed
Public key for rpmfusion-nonfree-release-8.noarch.rpm is not installed
Error: GPG check FAILED

How can I solve that problem?

sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm

Responses