The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-14-2008
eamani_sun eamani_sun is offline
Registered User
 

Join Date: May 2008
Posts: 39
How to install expect rpm?

Hi ,

I am tryin to install expect rpm on my linux machine.

I have the source file expect-5.42.1-1.src.rpm

I am doin this

rpm -ivh expect-5.42.1-1.src.rpm

But I am gettin this error

warning: expect-5.42.1-1.src.rpm: V3 DSA signature : NOKEY, key ID db42a60e

error: cannot create %sourcedir /usr/src/redhat/SOURCES



So, I have created that path.(In the sense, added some dir's)


Now, when I run it again

I have got

warning: expect-5.42.1-1.src.rpm: V3 DSA signature : NOKEY, key ID db42a60e

1.expect: ########################## 100%


But when try to use expect now ,it would say

command not found.


Can someone help me with this.

Thanks,

Sunny
Forum Sponsor