找回密码
 注册
查看: 3737|回复: 0

virt-install -bash: virt-install: command not found

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-11-29 23:18:29 | 显示全部楼层 |阅读模式
virt-install8 R! Z9 j' P& g
-bash: virt-install: command not found
, q/ ~$ f9 @- W5 R2 f5 y
+ _$ B5 q; X# L, z) Myum provides */virt-install% E, @- r2 e8 ?* I8 F, i& r3 \
Loaded plugins: fastestmirror, priorities
4 y9 B  x; G8 @9 c( gLoading mirror speeds from cached hostfile: B9 s- i/ p! J* u
centos-ceph-luminous/filelists_db                                                                                                      | 116 kB  00:00:00     
# X4 q! O& `) m) x- Q, Qcentos-openstack-queens/filelists_db                                                                                                   | 3.4 MB  00:00:00     
: `# t+ g5 g: O7 v1 Lcentos-qemu-ev/filelists_db                                                                                                            |  18 kB  00:00:00     8 q( c* H' c7 t8 j
centosplus/filelists_db                                                                                                                | 1.5 MB  00:00:00     5 D5 N+ G1 K! L2 x. ^/ M
ceph/filelists_db                                                                                                                      | 567 kB  00:00:00     
$ q0 J) I6 W/ ?3 y$ hceph-noarch/filelists_db                                                                                                               |  14 kB  00:00:00     
' ]8 g2 T1 X8 j8 [* p; j8 Qcr/filelists_db                                                                                                                        | 3.4 MB  00:00:00     
1 _$ ]* R2 |, P; p' J$ I) ]elrepo/filelists_db                                                                                                                    |  63 kB  00:00:00     
( F( }: p% u# yextras/filelists_db                                                                                                                    | 603 kB  00:00:00     ' I3 O3 Z8 e9 O+ [& I9 n  e( N0 y
fasttrack/filelists_db                                                                                                                 |  586 B  00:00:00     6 m, b( g5 p7 W9 i7 b' Q! O
os/filelists_db                                                                                                                        | 6.9 MB  00:00:00     7 W( Y- w5 Z& z! u8 M" w
updates/filelists_db                                                                                                                   | 3.4 MB  00:00:00       ]* l. |6 q( M7 e4 N% Z0 N/ d' j
virt-install-1.4.3-3.el7.noarch : Utilities for installing virtual machines4 s; j3 h5 R1 c: Q7 v8 `% Q# P$ a- q
Repo        : os: O- S, e' v: c/ K% [3 |. n  O
Matched from:
# ^% {: a- L0 M. }4 A1 K1 q$ jFilename    : /usr/bin/virt-install+ `- x% q! f# A, E9 g  _0 D
Filename    : /usr/share/virt-manager/virt-install' f& q3 M4 s4 m- A' x
8 [' x: ^2 W3 B/ W

" v, X9 d% t% R0 {5 ]- X# ^" B3 @3 @2 D4 g$ @% W3 a. s' {
virt-install-1.5.0-1.el7.noarch : Utilities for installing virtual machines7 j3 |9 x, L8 Y# k- P/ j( q0 t- s
Repo        : cr; I: w2 [: x& a8 S+ `, l
Matched from:
9 Y( P, f6 T+ \1 M' c+ v) [Filename    : /usr/bin/virt-install
) ]9 G, W& s$ P; w$ `1 j- UFilename    : /usr/share/virt-manager/virt-install
3 l% V+ v0 i. f% M
& P: t9 [% x4 Y4 o- g8 Y9 ]$ C/ y4 @- |

) G: b+ H% I+ e0 n$ G( T安装( C8 z' h9 R/ M( Q( r

' G" Y$ d2 X( n% s: \3 R+ x+ J[root@compute01 ~]# yum install -y virt-install1 t$ `7 S" D+ t" Q8 I7 \
Loaded plugins: fastestmirror, priorities
5 O: J# N7 C( X. a/ J5 H- g5 JLoading mirror speeds from cached hostfile" t3 T  Z/ n* o4 P% y
Resolving Dependencies3 y% B9 i! `0 @" `9 e
--> Running transaction check& l6 i& H2 }9 ~4 C' t
---> Package virt-install.noarch 0:1.5.0-1.el7 will be installed
2 ^. Q1 j$ j/ Y! W8 g--> Processing Dependency: virt-manager-common = 1.5.0-1.el7 for package: virt-install-1.5.0-1.el7.noarch5 B8 U3 s* w9 Q! l( c6 u6 f) k1 T
--> Running transaction check
2 ~- h* M0 R+ X, N---> Package virt-manager-common.noarch 0:1.5.0-1.el7 will be installed/ C, C) a; k2 G; T: l- ?; J; B" Y0 }
--> Processing Dependency: python-ipaddr for package: virt-manager-common-1.5.0-1.el7.noarch
$ o) L; J& k; x7 P3 \--> Running transaction check
- \( c" w8 T# h6 [---> Package python-ipaddr.noarch 0:2.1.11-1.el7 will be installed' B1 W. L3 S, x; ?2 h& }0 X
--> Finished Dependency Resolution3 P% m0 W" {# S5 A: K  q2 n

# K: r' L3 t6 W0 U- _Dependencies Resolved- C9 B6 _/ Q' T& o+ M' ?
9 M6 n7 S! R5 n! q- d* A/ T% x
==============================================================================================================================================================
" a+ v* `% F7 `) t2 D. x Package                                        Arch                              Version                                 Repository                     Size, V$ c  u/ V5 x7 F
==============================================================================================================================================================
( Z3 T9 _' \3 Z3 q. ^' x" \Installing:5 m$ c& D5 i  h* q, N5 R& w, c( w
virt-install                                   noarch                            1.5.0-1.el7                             cr                             94 k) E0 \; u* j1 H  G
Installing for dependencies:
6 U9 B5 X. _7 H+ A: S9 x python-ipaddr                                  noarch                            2.1.11-1.el7                            os                             35 k1 |. k/ |0 l7 O- H, l
virt-manager-common                            noarch                            1.5.0-1.el7                             cr                            1.2 M
" m4 N) i5 |; r$ r8 v& ^
0 J. p$ \0 x5 U& ?Transaction Summary
% A( f* \2 D: m) ?4 u, m==============================================================================================================================================================% R, d) C* N- u
Install  1 Package (+2 Dependent packages)
4 L3 m$ u' ^3 w4 O* ]1 v! E6 Q' k+ e% P. A
Total download size: 1.3 M& K: I# a  M4 Y# Z1 f& L4 V
Installed size: 6.2 M0 V9 P( P& c6 X  B: |
Downloading packages:5 ]1 S: i2 Z, ^, l$ h2 K
(1/3): python-ipaddr-2.1.11-1.el7.noarch.rpm                                                                                           |  35 kB  00:00:00     4 g) [: q7 R! B3 u
(2/3): virt-install-1.5.0-1.el7.noarch.rpm                                                                                             |  94 kB  00:00:00     
# D) t% y  E6 H. @(3/3): virt-manager-common-1.5.0-1.el7.noarch.rpm                                                                                      | 1.2 MB  00:00:00     
' m& c' u. Z9 Y$ s, g! X--------------------------------------------------------------------------------------------------------------------------------------------------------------' \$ ~" i: o9 i# k
Total                                                                                                                         3.2 MB/s | 1.3 MB  00:00:00     # X4 y2 G8 q. t
Running transaction check7 v3 d) y6 R- j8 L3 T/ z) p
Running transaction test
, }, y% d2 l% u( Q$ |7 zTransaction test succeeded, e, {/ u! Y# W" ]% V0 O" M
Running transaction! Z% d- S' V( X8 s' X; G
  Installing : python-ipaddr-2.1.11-1.el7.noarch                                                                                                          1/3 8 J, f; i' r  A; Y5 p
  Installing : virt-manager-common-1.5.0-1.el7.noarch                                                                                                     2/3 : H$ Z, e9 M9 n6 X- b1 t
  Installing : virt-install-1.5.0-1.el7.noarch                                                                                                            3/3 $ y# G( B3 m* J; ^
  Verifying  : virt-install-1.5.0-1.el7.noarch                                                                                                            1/3 ' s; ?2 K" `* }% u
  Verifying  : virt-manager-common-1.5.0-1.el7.noarch                                                                                                     2/3
6 x& ~. v6 C8 j: \+ {( M  Verifying  : python-ipaddr-2.1.11-1.el7.noarch                                                                                                          3/3
( W4 y9 v6 q) T3 Q* }
5 [( ~4 i: U* O1 a7 Q8 z; P. V8 |Installed:6 E% l- o2 S6 l" M# n" j
  virt-install.noarch 0:1.5.0-1.el7                                                                                                                             t8 u" z( r$ e/ J! i
# k, r. p1 Y8 {$ Z' s$ j
Dependency Installed:/ B% Q7 S% t% P. E3 s
  python-ipaddr.noarch 0:2.1.11-1.el7                                         virt-manager-common.noarch 0:1.5.0-1.el7                                        , \* O* e" L9 G8 C$ Q. g5 b5 _" C
$ ~0 {, A& F  w; J# s0 ]) a  [
Complete!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:41 , Processed in 0.017739 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表