Solved the problem of no virt-install command in entOS6.6.

Source: Internet
Author: User

Solved the problem of no virt-install command in entOS6.6.

RT, because python-embedded inst is not installed, you can only install it using yum or by using rpm.

When using rpm for installation, there is a dependency, but it does not matter. We can refer to the yum installation process to obtain the dependency, as shown below:

Rpm ivhlibselinux-python-2.0.94-5.8.el6.x86_64libvirt-python-0.10.2-46.el6.x86_64python-virtinst-0.600.0-24.el6.noarch

######################################## #######################################

[Root @ localhost Packages] # yum install python-stronginst

Loaded plugins: fastestmirror, security

Setting up Install Process

Determining fastest mirrors

Resolving Dependencies

--> Running transaction check

---> Package python-virtinst.noarch 0: 0. 600.0-24. el6 will be installed

--> Processing Dependency: libvirt-python> = 0.2.0 for package: python-virtinst-0.600.0-24.el6.noarch

--> Processing Dependency: libselinux-python for package: python-virtinst-0.600.0-24.el6.noarch

--> Running transaction check

---> Package libselinux-python.x86_64. 0.94-5.8.el6 will be installed

---> Package libvirt-python.x86_64 0: 0. 10.2-46. el6 will be installed

--> Finished Dependency Resolution

Dependencies Resolved

========================================================== ========================================================== ======================================

Package Arch Version Repository Size

========================================================== ========================================================== ======================================

Installing:

Python-plugin inst noarch 0.600.0-24. el6 vir 501 k

Installing for dependencies:

Libselinux-python x86_64 2.0.94-5.8.el6 vir 203 k

Libvirt-python x86_64 0.10.2-46. el6 vir 496 k

Transaction Summary

========================================================== ========================================================== ======================================

Install 3 Package (s)

Total download size: 1.2 M

Installed size: 3.9 M

Is this OK [y/N]: y

Downloading Packages:

Bytes ------------------------------------------------------------------------------------------------------

Total 3.7 MB/s | 1.2 MB

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Warning: RPMDB altered outside of yum.

Installing: libselinux-python-2.0.94-5.8.el6.x86_64 1/3

Installing: libvirt-python-0.10.2-46.el6.x86_64 2/3

Installing: python-virtinst-0.600.0-24.el6.noarch 3/3

Verifying: python-virtinst-0.600.0-24.el6.noarch 1/3

Verifying: libvirt-python-0.10.2-46.el6.x86_64 2/3

Verifying: libselinux-python-2.0.94-5.8.el6.x86_64 3/3

Installed:

Python-virtinst.noarch 0-0. 600.0-24. el6

Dependency Installed:

Libselinux-python.x86_64. 0.94-5.8.el6 libvirt-python.x86_64. 10.2-46. el6

Complete!

[Root @ localhost Packages] #

[Root @ localhost Packages] #

[Root @ localhost Packages] #

[Root @ localhost Packages] #

[Root @ localhost Packages] #

[Root @ localhost Packages] # virt-

Virt-clone virt-host-validate virt-install virt-what

Virt-convert virt-image virt-pki-validate virt-xml-validate

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.