How to manager virtual machines?

How to install virt-manager on Fedora / Centos 9 / RHEL 9?

We can install virt-manager application to manage virtual machines through libvirt and also provides desktop user interface.

Provides supporting tools like virt-install, virt-xml, virt-viewer, virt-clone and virt-bootstrap command line tools.

How to install virt-manager on Linux Fedora / Centos 9 / RHEL 9?

Check whether virt-manager is installed or not,

[test-user@fedora ~]$ virt-manager
Should pop up virtual machine manager user interface screen if already installed.

cammand not found error raised if not already installed.

bash: virt-manager: command not found...
Install package 'virt-manager' to provide command 'virt-manager'? [N/y] c^C
[test-user@fedora ~]$ 

We can install virt-manager application using below command,

[test-user@fedora ~]$ sudo yum install virt-manager

Started installing virt-manager as below,

Last metadata expiration check: 2:44:05 ago on Tue 30 May 2023 11:27:13 PM IST.
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                          Architecture                                        Version                                                      Repository                                            Size
==============================================================================================================================================================================================================================================
Installing:
 virt-manager                                                     noarch                                              4.1.0-1.fc37                                                 fedora                                               718 k
Upgrading:
 libxml2                                                          x86_64                                              2.10.4-1.fc37                                                updates                                              705 k
Installing dependencies:
 kde-filesystem                                                   x86_64                                              4-68.fc37                                                    fedora                                                47 k
 kf5-filesystem                                                   x86_64                                              5.105.0-1.fc37                                               updates                                               11 k
 libburn                                                          x86_64                                              1.5.4-5.fc37                                                 fedora                                               172 k
 libisoburn                                                       x86_64                                              1.5.4-5.fc37                                                 fedora                                               413 k
 libisofs                                                         x86_64                                              1.5.4-4.fc37                                                 fedora                                               224 k
 python3-libvirt                                                  x86_64                                              8.6.0-1.fc37                                                 fedora                                               350 k
 python3-libxml2                                                  x86_64                                              2.10.4-1.fc37                                                updates                                              228 k
 virt-manager-common                                              noarch                                              4.1.0-1.fc37                                                 fedora                                               1.2 M
 xorriso                                                          x86_64                                              1.5.4-5.fc37                                                 fedora                                               315 k

Transaction Summary
==============================================================================================================================================================================================================================================
Install  10 Packages
Upgrade   1 Package

Total download size: 4.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): kde-filesystem-4-68.fc37.x86_64.rpm                                                                                                                                                                    10 kB/s |  47 kB     00:04    
(2/11): libburn-1.5.4-5.fc37.x86_64.rpm                                                                                                                                                                        35 kB/s | 172 kB     00:04    
(3/11): libisofs-1.5.4-4.fc37.x86_64.rpm                                                                                                                                                                      237 kB/s | 224 kB     00:00    
(4/11): libisoburn-1.5.4-5.fc37.x86_64.rpm                                                                                                                                                                     71 kB/s | 413 kB     00:05    
(5/11): python3-libvirt-8.6.0-1.fc37.x86_64.rpm                                                                                                                                                               233 kB/s | 350 kB     00:01    
(6/11): virt-manager-4.1.0-1.fc37.noarch.rpm                                                                                                                                                                  480 kB/s | 718 kB     00:01    
(7/11): xorriso-1.5.4-5.fc37.x86_64.rpm                                                                                                                                                                       278 kB/s | 315 kB     00:01    
(8/11): kf5-filesystem-5.105.0-1.fc37.x86_64.rpm                                                                                                                                                               12 kB/s |  11 kB     00:00    
(9/11): virt-manager-common-4.1.0-1.fc37.noarch.rpm                                                                                                                                                           458 kB/s | 1.2 MB     00:02    
(10/11): python3-libxml2-2.10.4-1.fc37.x86_64.rpm                                                                                                                                                             126 kB/s | 228 kB     00:01    
(11/11): libxml2-2.10.4-1.fc37.x86_64.rpm                                                                                                                                                                     396 kB/s | 705 kB     00:01    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                         367 kB/s | 4.3 MB     00:11     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                      1/1 
  Upgrading        : libxml2-2.10.4-1.fc37.x86_64                                                                                                                                                                                        1/12 
  Installing       : python3-libxml2-2.10.4-1.fc37.x86_64                                                                                                                                                                                2/12 
  Installing       : kf5-filesystem-5.105.0-1.fc37.x86_64                                                                                                                                                                                3/12 
  Installing       : python3-libvirt-8.6.0-1.fc37.x86_64                                                                                                                                                                                 4/12 
  Installing       : libisofs-1.5.4-4.fc37.x86_64                                                                                                                                                                                        5/12 
  Installing       : libburn-1.5.4-5.fc37.x86_64                                                                                                                                                                                         6/12 
  Installing       : libisoburn-1.5.4-5.fc37.x86_64                                                                                                                                                                                      7/12 
  Installing       : kde-filesystem-4-68.fc37.x86_64                                                                                                                                                                                     8/12 
  Installing       : xorriso-1.5.4-5.fc37.x86_64                                                                                                                                                                                         9/12 
  Running scriptlet: xorriso-1.5.4-5.fc37.x86_64                                                                                                                                                                                         9/12 
  Installing       : virt-manager-common-4.1.0-1.fc37.noarch                                                                                                                                                                            10/12 
  Installing       : virt-manager-4.1.0-1.fc37.noarch                                                                                                                                                                                   11/12 
  Cleanup          : libxml2-2.10.3-2.fc37.x86_64                                                                                                                                                                                       12/12 
  Running scriptlet: libxml2-2.10.3-2.fc37.x86_64                                                                                                                                                                                       12/12 
  Verifying        : kde-filesystem-4-68.fc37.x86_64                                                                                                                                                                                     1/12 
  Verifying        : libburn-1.5.4-5.fc37.x86_64                                                                                                                                                                                         2/12 
  Verifying        : libisoburn-1.5.4-5.fc37.x86_64                                                                                                                                                                                      3/12 
  Verifying        : libisofs-1.5.4-4.fc37.x86_64                                                                                                                                                                                        4/12 
  Verifying        : python3-libvirt-8.6.0-1.fc37.x86_64                                                                                                                                                                                 5/12 
  Verifying        : virt-manager-4.1.0-1.fc37.noarch                                                                                                                                                                                    6/12 
  Verifying        : virt-manager-common-4.1.0-1.fc37.noarch                                                                                                                                                                             7/12 
  Verifying        : xorriso-1.5.4-5.fc37.x86_64                                                                                                                                                                                         8/12 
  Verifying        : kf5-filesystem-5.105.0-1.fc37.x86_64                                                                                                                                                                                9/12 
  Verifying        : python3-libxml2-2.10.4-1.fc37.x86_64                                                                                                                                                                               10/12 
  Verifying        : libxml2-2.10.4-1.fc37.x86_64                                                                                                                                                                                       11/12 
  Verifying        : libxml2-2.10.3-2.fc37.x86_64                                                                                                                                                                                       12/12 

Upgraded:
  libxml2-2.10.4-1.fc37.x86_64                                                                                                                                                                                                                
Installed:
  kde-filesystem-4-68.fc37.x86_64  kf5-filesystem-5.105.0-1.fc37.x86_64    libburn-1.5.4-5.fc37.x86_64 libisoburn-1.5.4-5.fc37.x86_64 libisofs-1.5.4-4.fc37.x86_64 python3-libvirt-8.6.0-1.fc37.x86_64 python3-libxml2-2.10.4-1.fc37.x86_64
  virt-manager-4.1.0-1.fc37.noarch virt-manager-common-4.1.0-1.fc37.noarch xorriso-1.5.4-5.fc37.x86_64

Complete!
[test-user@fedora ~]$ 


We can run virt-maager command to open the virtual machine manager user interface now.




Python installation

Privacy Policy  |  Copyrightcopyright symbol2020 - All Rights Reserved.  |  Contact us   |  Report website issues in Github   |  Facebook page   |  Google+ page

Email Facebook Google LinkedIn Twitter
^