LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem installing rpm (https://www.linuxquestions.org/questions/linux-newbie-8/problem-installing-rpm-122076/)

gschrade 12-02-2003 05:26 PM

problem installing rpm
 
I am having a problem installing an rpm. I am running RedHat 9. When I try to run this command as root:

rpm -Uvv <myRpmFile.rpm>

I get this error:

arguments to --root (-r) must begin with a /

I have tried to run it from different directories and with different user ids and get the same error. Anybody know what this means?

Thank you in advance.

XavierP 12-02-2003 05:28 PM

you need to open a console and type in:

su (then enter)
root's password (then enter)
rpm -ivh <packagename>.rpm (then enter)

afrm 12-02-2003 06:58 PM

in order to install rpm packages u type like XavierP said. To upgrade existing ones u use
rpm -Uvh <packagename>.rpm

gschrade 12-02-2003 08:44 PM

Thank you


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