LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where is rpm command in linux ? (https://www.linuxquestions.org/questions/linux-newbie-8/where-is-rpm-command-in-linux-499022/)

chu2654 11-06-2006 02:28 AM

Where is rpm command in linux ?
 
Hello,
I need to use rpm command to install packages in a linux machine. I tried to use whereis and find to know where it is ? What can I do ? Thanks.

Fond_of_Opensource 11-06-2006 02:38 AM

It may be in one of these:

Try using

/bin/rpm /etc/rpm /usr/lib/rpm /usr/include/rpm

cs-cam 11-06-2006 03:19 AM

Not all distros use RPM, which distro are you trying this on?

teebones 11-06-2006 03:21 AM

you could also just use "rpm" at the prompt.
If that doesn't work, maybe it's not installed. (it depends on the distribution you're using)

With the "locate" or "slocate" command you can search for it, sytem wide.

reddazz 11-06-2006 03:27 AM

RPM is installed in /bin/rpm. If you didn't find it, then you may not be running an rpm based distribution.


All times are GMT -5. The time now is 01:06 PM.