admin 发表于 2018-11-29 23:18:29

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

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

yum provides */virt-install
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
centos-ceph-luminous/filelists_db                                                                                                      | 116 kB00:00:00   
centos-openstack-queens/filelists_db                                                                                                   | 3.4 MB00:00:00   
centos-qemu-ev/filelists_db                                                                                                            |18 kB00:00:00   
centosplus/filelists_db                                                                                                                | 1.5 MB00:00:00   
ceph/filelists_db                                                                                                                      | 567 kB00:00:00   
ceph-noarch/filelists_db                                                                                                               |14 kB00:00:00   
cr/filelists_db                                                                                                                        | 3.4 MB00:00:00   
elrepo/filelists_db                                                                                                                  |63 kB00:00:00   
extras/filelists_db                                                                                                                  | 603 kB00:00:00   
fasttrack/filelists_db                                                                                                               |586 B00:00:00   
os/filelists_db                                                                                                                        | 6.9 MB00:00:00   
updates/filelists_db                                                                                                                   | 3.4 MB00:00:00   
virt-install-1.4.3-3.el7.noarch : Utilities for installing virtual machines
Repo      : os
Matched from:
Filename    : /usr/bin/virt-install
Filename    : /usr/share/virt-manager/virt-install



virt-install-1.5.0-1.el7.noarch : Utilities for installing virtual machines
Repo      : cr
Matched from:
Filename    : /usr/bin/virt-install
Filename    : /usr/share/virt-manager/virt-install



安装

# yum install -y virt-install
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package virt-install.noarch 0:1.5.0-1.el7 will be installed
--> Processing Dependency: virt-manager-common = 1.5.0-1.el7 for package: virt-install-1.5.0-1.el7.noarch
--> Running transaction check
---> Package virt-manager-common.noarch 0:1.5.0-1.el7 will be installed
--> Processing Dependency: python-ipaddr for package: virt-manager-common-1.5.0-1.el7.noarch
--> Running transaction check
---> Package python-ipaddr.noarch 0:2.1.11-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================
Package                                        Arch                              Version                                 Repository                     Size
==============================================================================================================================================================
Installing:
virt-install                                 noarch                            1.5.0-1.el7                           cr                           94 k
Installing for dependencies:
python-ipaddr                                  noarch                            2.1.11-1.el7                            os                           35 k
virt-manager-common                            noarch                            1.5.0-1.el7                           cr                            1.2 M

Transaction Summary
==============================================================================================================================================================
Install1 Package (+2 Dependent packages)

Total download size: 1.3 M
Installed size: 6.2 M
Downloading packages:
(1/3): python-ipaddr-2.1.11-1.el7.noarch.rpm                                                                                           |35 kB00:00:00   
(2/3): virt-install-1.5.0-1.el7.noarch.rpm                                                                                             |94 kB00:00:00   
(3/3): virt-manager-common-1.5.0-1.el7.noarch.rpm                                                                                    | 1.2 MB00:00:00   
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                         3.2 MB/s | 1.3 MB00:00:00   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-ipaddr-2.1.11-1.el7.noarch                                                                                                          1/3
Installing : virt-manager-common-1.5.0-1.el7.noarch                                                                                                   2/3
Installing : virt-install-1.5.0-1.el7.noarch                                                                                                            3/3
Verifying: virt-install-1.5.0-1.el7.noarch                                                                                                            1/3
Verifying: virt-manager-common-1.5.0-1.el7.noarch                                                                                                   2/3
Verifying: python-ipaddr-2.1.11-1.el7.noarch                                                                                                          3/3

Installed:
virt-install.noarch 0:1.5.0-1.el7                                                                                                                           

Dependency Installed:
python-ipaddr.noarch 0:2.1.11-1.el7                                       virt-manager-common.noarch 0:1.5.0-1.el7                                       

Complete!
页: [1]
查看完整版本: virt-install -bash: virt-install: command not found