"bash: rpm: command not found" errom when trying to install any package
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Okay, then rpm is missing (you only have "rpmbuild", "rpmgraph", and some *.rpm's). Seems you will have to reinstall. To be one the safe side, try locate rpm without grep -- if the output is manageable, look again in case your version was/is not installed in /sbin or /bin. Good luck.
I am facing similar problem too....wondering if anyone has got the solution?
I mean, to reinstall as stated, do you mean reinstall the distribution?
i am wondering....the rpm command...is it itself a rpm package?
if it is, then i can possibly find its rpm and reinstall it...if not, how do i fix it?
thanks for your reply.
How do i actually reinstall the rpm? I tried look for resource regarding reinstall rpm but all it feeds back are those articles regarding rpm -i, rpm -e etc, what i need to know is how to reinstall or fix the actual "rpm" command...coz it seems that this command is not working..
is the rpm command itself a rpm package too? that i uninstall by rpm -e and reinstall again with rpm -i?
if it is, i supposed things won't be hard to fix. pls teach me how...thanks for taking time helping.
I have a similar problem, in fact my both rpm and yum command are not working and when i use them i get the error :command not found. I tried to install rpom using apt-get install rpm ,that too failed and when i tried using apt-get update even that failed.Could you please tell me how to fix the problem ?
Thanx for your reply but i am new to linux and is not very well familiar with the terminology, so is installing yum and rpm is not required in ubuntu distribution because most of the things (as far as i know) is installed in linux using these two ways