expect rpm installation!


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat expect rpm installation!
# 1  
Old 05-14-2008
expect rpm installation!

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
# 2  
Old 05-15-2008
You've just installed the source, now you have to compile it and then install it, there are many tutorials on the net how to do that. But you should skip that part, and download the expect compiled rpm and install it directly. You can even install via Internet, as in : "rpm -Uvh http://server.com/expect.rpm" - just replace the path.
Also, what is your OS ? If it's RPM based package system, use their repos and download via yum, yast or the respective instrument.
# 3  
Old 05-15-2008
I always suggest using Active state's (ActiveState - Dynamic Tools for Dynamic Languages) Tcl for developers and administrators that want a more recent and feature-complete distribution.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Rpm issue with autoconf-2.63-1.AIX6.1.noarch.rpm

dears i am trying to install the autoconf-2.63-1.aix6.1.noarch.rpm but its shows the below error message . P700_dev/svn/dependencies>rpm -i autoconf-2.63-1.aix6.1.noarch.rpm error: failed dependencies: m4 is needed by autoconf-2.63-1 P700_dev/svn/dependencies> (6 Replies)
Discussion started by: thecobra151
6 Replies

2. Red Hat

Problem with rpm installation

When i try to install rpm with rpm -ivh ntp* it shows package is already install and when i query for same package it shows package is not installed ?How to resolve DSA signature error for rpm? How to choose rpm package except redhat version(el5) and architecture(i386) and site link for that? (5 Replies)
Discussion started by: amitbharad
5 Replies

3. Fedora

Install RPM package after OS Installation

Hi Guys I want to know whether is it possible to automatically Install a RPM package after installing OS. Basically we have have one rpm package which we want to install as part of OS installation . Please Suggest (3 Replies)
Discussion started by: mr_deb
3 Replies

4. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

How to make RPM not write to RPM database if RPM fails to deploy? IE I create an rpm spec file that contains the following if then exit 1 fi My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies

5. Red Hat

RPM Installation & Removal issue

Hi, I created an RPM for one of our internal serer: tel-gw--2010.05.1.0-SNAPSHOT-1.rpm What happened I Installed for 5 times, and it get installed (/usr/tel-gw/) & added 5 entries into rpm db. And when I query RPM db as "rpm -qa | grep tel-gw--2010.05.1.0-SNAPSHOT-1", it shows 5 times in... (0 Replies)
Discussion started by: jw_amp
0 Replies

6. Shell Programming and Scripting

expect rpm for rhel 4

hi i have an application which have a expect script. But now when I run application on other machines, it requires expect to be present on that system. Now I have the binary of expect with all the libraries required. The binary support for Rhel 5 version or later versions. Can aneone tell... (2 Replies)
Discussion started by: tapan_kumawat
2 Replies

7. Red Hat

Remote installation of rpm package (Using YUM)

Hi, I have configured YUM repository on a server and we have 10 linux machine (clients). Is there any way we can install a package on all the 10 machines from YUM repository server? Please help me. (7 Replies)
Discussion started by: uday123
7 Replies

8. Red Hat

RPM package installation

Hi, can someone help me with this? How do we apply a new version of s/w package without disrupting the processes & daemons running with the old version? Thanks (1 Reply)
Discussion started by: naan
1 Replies

9. Shell Programming and Scripting

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... (1 Reply)
Discussion started by: eamani_sun
1 Replies

10. Shell Programming and Scripting

RPM Installation

Hi, I need a script for "Installting RPM with using double clicking like windows installation" not by command prompt. Kammy (2 Replies)
Discussion started by: kjannu
2 Replies
Login or Register to Ask a Question