"CentOS expect 설치"의 두 판 사이의 차이

(새 문서: ;리눅스 expect 설치 ;yum으로 expect 설치 ==설치 확인== ;명령어 <source lang='bash'> yum info expect </source> ;실행결과 <source lang='dos'> [root@mysvn pywikiped...)
 
 
(사용자 2명의 중간 판 41개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{다른뜻|우분투 expect 설치}}
;리눅스 expect 설치
;리눅스 expect 설치
;yum으로 expect 설치
;yum으로 expect 설치


==설치 확인==
==확인==
;명령어
<source lang='console'>
<source lang='bash'>
[root@zetawiki ~]# expect
yum info expect
-bash: expect: command not found
</source>
</source>
<source lang='console'>
[root@zetawiki ~]# rpm -qa | grep expect
</source>
:→ 설치 되어 있지 않음


;실행결과
==설치==
<source lang='dos'>
<source lang='console'>
[root@mysvn pywikipedia]# yum info expect
[root@zetawiki ~]# yum install expect
Loaded plugins: fastestmirror, refresh-packagekit
... (생략)
Loading mirror speeds from cached hostfile
====================================================================================================
* fedora: ftp.tsukuba.wide.ad.jp
  Package              Arch                Version                        Repository          Size
  * updates: ftp.cuhk.edu.hk
====================================================================================================
Available Packages
Installing:
Name      : expect
expect               x86_64              5.44.1.15-4.el6                base              256 k
Arch      : i586
Installing for dependencies:
Version    : 5.43.0
tcl                 x86_64              1:8.5.7-6.el6                  base              1.9 M
Release    : 17.fc11
Size      : 265 k
Repo      : fedora
Summary    : A program-script interaction and testing utility
URL        : http://expect.nist.gov/
License    : Public Domain
Description: Expect is a tcl application for automating and testing
          : interactive applications such as telnet, ftp, passwd, fsck,
          : rlogin, tip, etc. Expect makes it easy for a script to
          : control another program and interact with it.
          :
          : This package contains expect and some scripts that use it.


Name      : expect
Transaction Summary
Arch       : x86_64
====================================================================================================
Version    : 5.43.0
Install       2 Package(s)
Release    : 17.fc11
 
Size      : 267 k
Total download size: 2.2 M
Repo      : fedora
Is this ok [y/N]: y
Summary    : A program-script interaction and testing utility
URL        : http://expect.nist.gov/
License    : Public Domain
Description: Expect is a tcl application for automating and testing
          : interactive applications such as telnet, ftp, passwd, fsck,
          : rlogin, tip, etc. Expect makes it easy for a script to
          : control another program and interact with it.
          :
          : This package contains expect and some scripts that use it.
</source>
</source>
<source lang='console'>
... (생략)
Installed:
  expect.x86_64 0:5.44.1.15-4.el6                                                                 
Dependency Installed:
  tcl.x86_64 1:8.5.7-6.el6                                                                         
Complete!
</source>
==확인 2==
<source lang='console'>
[root@zetawiki ~]# rpm -qa | grep expect
expect-5.44.1.15-4.el6.x86_64
</source>
<source lang='console'>
[root@zetawiki ~]# expect -v
expect version 5.44.1.15
</source>
==같이 보기==
*[[우분투 expect 설치]]
*[[expect]]


[[분류: yum 설치]]
[[분류: expect]]
[[분류: expect]]
[[분류:yum]]

2016년 7월 14일 (목) 16:27 기준 최신판

  다른 뜻에 대해서는 우분투 expect 설치 문서를 참조하십시오.
리눅스 expect 설치
yum으로 expect 설치

1 확인[ | ]

[root@zetawiki ~]# expect
-bash: expect: command not found
[root@zetawiki ~]# rpm -qa | grep expect
→ 설치 되어 있지 않음

2 설치[ | ]

[root@zetawiki ~]# yum install expect
... (생략)
====================================================================================================
 Package              Arch                 Version                         Repository          Size
====================================================================================================
Installing:
 expect               x86_64               5.44.1.15-4.el6                 base               256 k
Installing for dependencies:
 tcl                  x86_64               1:8.5.7-6.el6                   base               1.9 M

Transaction Summary
====================================================================================================
Install       2 Package(s)

Total download size: 2.2 M
Is this ok [y/N]: y
... (생략)
Installed:
  expect.x86_64 0:5.44.1.15-4.el6                                                                   

Dependency Installed:
  tcl.x86_64 1:8.5.7-6.el6                                                                          

Complete!

3 확인 2[ | ]

[root@zetawiki ~]# rpm -qa | grep expect
expect-5.44.1.15-4.el6.x86_64
[root@zetawiki ~]# expect -v
expect version 5.44.1.15

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}