LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing .rpm with YUM (https://www.linuxquestions.org/questions/linux-newbie-8/installing-rpm-with-yum-764923/)

jmc1987 10-27-2009 11:25 PM

Installing .rpm with YUM
 
I was just wondering if you setup a yum repo in /etc/yum.repos.d would you be able to install any rpm file with yum?

linuxlover.chaitanya 10-28-2009 12:22 AM

Though YUM would download the packages in the format of the distribution it is set on and if set on RH based it would download rpm files finally, but I do not see any option with yum where you can install rpm packages.
To install rpm files, rpm command is available.

jens 10-28-2009 12:45 AM

yum --nogpgcheck localinstall package.rpm

linuxlover.chaitanya 10-28-2009 12:53 AM

I never thought this can be done. Thanks for that.


All times are GMT -5. The time now is 12:54 AM.