Why rpm is not working on cygwin terminal?

1

I am trying to install some RPMs, and I am executing:

$ rpm --ignoreos -ivh *.rpm
-bash: rpm: command not found"

My main purpose is to install tinyos-1.x on Windows7 premium, for which I referred to this page. Any hints?

Pankaj Jagat

Posted 2013-06-17T08:39:00.430

Reputation:

I suggest you install Ubuntu with oracle virtualbox and the follow this guide to install tinyos

http://www.eetutorials.com/article/28/TinyOS-installation-guide-on-Ubuntu.html

– Sean87 – 2013-06-23T11:08:26.550

Answers

1

Go back to the cygwin setup.exe and get to the select packages stage, type rpm into the text box and you should find only 'util' remains in the list, open the list of packages inside util and click on the 'new' column in the 'rpm' row, so you see a version number. Then carry on clicking next and the cygwin setup should install the package and all dependencies. You may need to quit the cygwin terminal and open it again, the rpm command should now be in your path.

seumas

Posted 2013-06-17T08:39:00.430

Reputation: 133