Dear All I have received a new centos server that does contain 'expect' but it does not contain 'autoexpect' . Is there any way to add 'autoexect' to it? Thank you
2010/5/31 hadi motamedi motamedi24@gmail.com:
Dear All I have received a new centos server that does contain 'expect' but it does not contain 'autoexpect' . Is there any way to add 'autoexect' to it?
yum -y install packagename
-- Eero
2010/5/31 hadi motamedi motamedi24@gmail.com:
yum -y install packagename
Thank you very much for your reply. It seems that 'autoexpect' must come with 'expect' script package . Am I right ?
man yum man rpm
-- Eero
On Mon, May 31, 2010 at 05:21:24AM +0100, hadi motamedi wrote:
yum -y install packagename
Thank you very much for your reply. It seems that 'autoexpect' must come
with 'expect' script package . Am I right ?
"yum provides */$foo" where in this case $foo would be the executable you are looking for.
You can also "rpm -ql $package" to see what is included in $package.
John
On Mon, May 31, 2010 at 1:21 AM, hadi motamedi motamedi24@gmail.com wrote:
yum -y install packagename
Thank you very much for your reply. It seems that 'autoexpect' must come with 'expect' script package . Am I right ?
Yes. To find out what package a program (or file) comes with, you can say
yum provides "*/autoexpect"
You must prefix it with "*/" to correctly locate any program.
On Sun, May 30, 2010 at 6:21 PM, hadi motamedi motamedi24@gmail.com wrote:
It seems that 'autoexpect' must come with 'expect' script package . Am I right ?
That's how it is on my box, seems weird that yours could have expect but not autoexpect. Dave
[root@cod ~]# cat /etc/redhat-release CentOS release 5.4 (Final) [root@cod ~]# rpm -qs expect|grep autoexpec normal /usr/bin/autoexpect normal /usr/share/man/man1/autoexpect.1.gz