Product SiteDocumentation Site

5.5.3. Installing an RPM

In case you are provided of an RPM file, you can use the same yum install command, which is equivalent to the obsolete yum localinstall command, as follows:
# su -c "yum localinstall psad-2.1.4-1.i386.rpm"
# su -c "yum install psad-2.1.4-1.i386.rpm"
In this way, if there are dependencies, yum will detect and install them. An additional option is often necessary, --nogpgcheck, for cases when you create your own RPM and do not sign the packages or you have not imported the necessary gpg key to the key ring.
# su -c "yum --nogpgcheck install psad-2.1.4-1.i386.rpm"

Request Signed Packages

If the provider does not sign the package is not really recommended to use them unless you have absolute confidence of the source of the package, require to software vendors to always sign their packages for security reasons and import the necessary signature.
# su -c "rpm --import /ruta/a_la/llave/GPG"
The yum localinstall command is deprecated, use the form yum install.