linux:qemu-kvm:install

文書の過去の版を表示しています。


qemu-kvm のインストール

  1. パッケージをインストールする。

    Fedora の場合:

    $ sudo dnf install qemu-kvm libvirt virt-install virt-manager virt-viewer bridge-utils
    

    メタデータの期限切れの最終確認: 1:01:17 時間前の 2022年08月29日 14時41分14秒 に実施しました。
    パッケージ qemu-kvm-2:6.2.0-14.fc36.x86_64 は既にインストールされています。
    依存関係が解決しました。
    ==============================================================================================================
     パッケージ                               アーキテクチャー バージョン                 リポジトリー      サイズ
    ==============================================================================================================
    インストール:
     bridge-utils                             x86_64           1.7.1-4.fc36               fedora             35 k
     libvirt                                  x86_64           8.1.0-2.fc36               fedora             12 k
     virt-install                             noarch           4.0.0-1.fc36               fedora             40 k
     virt-manager                             noarch           4.0.0-1.fc36               fedora            530 k
     virt-viewer                              x86_64           11.0-2.fc36                fedora            321 k
    依存関係のインストール:
     kde-filesystem                           x86_64           4-67.fc36                  fedora             43 k
     kf5-filesystem                           x86_64           5.97.0-2.fc36              updates            11 k
     libburn                                  x86_64           1.5.4-4.fc36               fedora            173 k
     libgovirt                                x86_64           0.3.8-3.fc36               fedora             86 k
     libisoburn                               x86_64           1.5.4-4.fc36               fedora            413 k
     libisofs                                 x86_64           1.5.4-3.fc36               fedora            225 k
     libvirt-client                           x86_64           8.1.0-2.fc36               fedora            383 k
     libvirt-daemon-config-nwfilter           x86_64           8.1.0-2.fc36               fedora             20 k
     libvirt-daemon-driver-libxl              x86_64           8.1.0-2.fc36               fedora            264 k
     libvirt-daemon-driver-lxc                x86_64           8.1.0-2.fc36               fedora            276 k
     libvirt-daemon-driver-vbox               x86_64           8.1.0-2.fc36               fedora            242 k
     python3-libvirt                          x86_64           8.0.0-2.fc36               fedora            318 k
     virt-manager-common                      noarch           4.0.0-1.fc36               fedora            1.0 M
     xorriso                                  x86_64           1.5.4-4.fc36               fedora            315 k
    
    トランザクションの概要
    ==============================================================================================================
    インストール  19 パッケージ
    
    ダウンロードサイズの合計: 4.6 M
    インストール後のサイズ: 17 M
    これでよろしいですか? [y/N]: y
    パッケージのダウンロード:
    (1/19): kde-filesystem-4-67.fc36.x86_64.rpm                                   182 kB/s |  43 kB     00:00    
    (2/19): bridge-utils-1.7.1-4.fc36.x86_64.rpm                                  128 kB/s |  35 kB     00:00    
    (3/19): libburn-1.5.4-4.fc36.x86_64.rpm                                       479 kB/s | 173 kB     00:00    
    (4/19): libgovirt-0.3.8-3.fc36.x86_64.rpm                                     558 kB/s |  86 kB     00:00    
    (5/19): libvirt-8.1.0-2.fc36.x86_64.rpm                                       108 kB/s |  12 kB     00:00    
    (6/19): libisofs-1.5.4-3.fc36.x86_64.rpm                                      1.2 MB/s | 225 kB     00:00    
    (7/19): libisoburn-1.5.4-4.fc36.x86_64.rpm                                    1.2 MB/s | 413 kB     00:00    
    (8/19): libvirt-daemon-config-nwfilter-8.1.0-2.fc36.x86_64.rpm                202 kB/s |  20 kB     00:00    
    (9/19): libvirt-client-8.1.0-2.fc36.x86_64.rpm                                1.4 MB/s | 383 kB     00:00    
    (10/19): libvirt-daemon-driver-lxc-8.1.0-2.fc36.x86_64.rpm                    1.4 MB/s | 276 kB     00:00    
    (11/19): libvirt-daemon-driver-libxl-8.1.0-2.fc36.x86_64.rpm                  956 kB/s | 264 kB     00:00    
    (12/19): libvirt-daemon-driver-vbox-8.1.0-2.fc36.x86_64.rpm                   1.4 MB/s | 242 kB     00:00    
    (13/19): virt-install-4.0.0-1.fc36.noarch.rpm                                 280 kB/s |  40 kB     00:00    
    (14/19): python3-libvirt-8.0.0-2.fc36.x86_64.rpm                              1.1 MB/s | 318 kB     00:00    
    (15/19): virt-manager-4.0.0-1.fc36.noarch.rpm                                 870 kB/s | 530 kB     00:00    
    (16/19): virt-viewer-11.0-2.fc36.x86_64.rpm                                   537 kB/s | 321 kB     00:00    
    (17/19): virt-manager-common-4.0.0-1.fc36.noarch.rpm                          1.3 MB/s | 1.0 MB     00:00    
    (18/19): xorriso-1.5.4-4.fc36.x86_64.rpm                                      1.0 MB/s | 315 kB     00:00    
    (19/19): kf5-filesystem-5.97.0-2.fc36.x86_64.rpm                              6.9 kB/s |  11 kB     00:01    
    --------------------------------------------------------------------------------------------------------------
    合計                                                                          1.0 MB/s | 4.6 MB     00:04     
    トランザクションの確認を実行中
    トランザクションの確認に成功しました。
    トランザクションのテストを実行中
    トランザクションのテストに成功しました。
    トランザクションを実行中
      準備             :                                                                                      1/1 
      インストール中   : libvirt-client-8.1.0-2.fc36.x86_64                                                  1/19 
      インストール中   : kf5-filesystem-5.97.0-2.fc36.x86_64                                                 2/19 
      インストール中   : python3-libvirt-8.0.0-2.fc36.x86_64                                                 3/19 
      scriptletの実行中: libvirt-daemon-driver-vbox-8.1.0-2.fc36.x86_64                                      4/19 
      インストール中   : libvirt-daemon-driver-vbox-8.1.0-2.fc36.x86_64                                      4/19 
      scriptletの実行中: libvirt-daemon-driver-vbox-8.1.0-2.fc36.x86_64                                      4/19 
      scriptletの実行中: libvirt-daemon-driver-lxc-8.1.0-2.fc36.x86_64                                       5/19 
      インストール中   : libvirt-daemon-driver-lxc-8.1.0-2.fc36.x86_64                                       5/19 
      scriptletの実行中: libvirt-daemon-driver-lxc-8.1.0-2.fc36.x86_64                                       5/19 
    Created symlink /etc/systemd/system/multi-user.target.wants/virtlxcd.service → /usr/lib/systemd/system/virtlxcd.service.
    Created symlink /etc/systemd/system/sockets.target.wants/virtlxcd.socket → /usr/lib/systemd/system/virtlxcd.socket.
    Created symlink /etc/systemd/system/sockets.target.wants/virtlxcd-ro.socket → /usr/lib/systemd/system/virtlxcd-ro.socket.
    Created symlink /etc/systemd/system/sockets.target.wants/virtlxcd-admin.socket → /usr/lib/systemd/system/virtlxcd-admin.socket.
    
      scriptletの実行中: libvirt-daemon-driver-libxl-8.1.0-2.fc36.x86_64                                     6/19 
      インストール中   : libvirt-daemon-driver-libxl-8.1.0-2.fc36.x86_64                                     6/19 
      scriptletの実行中: libvirt-daemon-driver-libxl-8.1.0-2.fc36.x86_64                                     6/19 
    Created symlink /etc/systemd/system/multi-user.target.wants/virtxend.service → /usr/lib/systemd/system/virtxend.service.
    Created symlink /etc/systemd/system/sockets.target.wants/virtxend.socket → /usr/lib/systemd/system/virtxend.socket.
    Created symlink /etc/systemd/system/sockets.target.wants/virtxend-ro.socket → /usr/lib/systemd/system/virtxend-ro.socket.
    Created symlink /etc/systemd/system/sockets.target.wants/virtxend-admin.socket → /usr/lib/systemd/system/virtxend-admin.socket.
    
      インストール中   : libvirt-daemon-config-nwfilter-8.1.0-2.fc36.x86_64                                  7/19 
      scriptletの実行中: libvirt-daemon-config-nwfilter-8.1.0-2.fc36.x86_64                                  7/19 
      インストール中   : libisofs-1.5.4-3.fc36.x86_64                                                        8/19 
      インストール中   : libgovirt-0.3.8-3.fc36.x86_64                                                       9/19 
      インストール中   : libburn-1.5.4-4.fc36.x86_64                                                        10/19 
      インストール中   : libisoburn-1.5.4-4.fc36.x86_64                                                     11/19 
      インストール中   : kde-filesystem-4-67.fc36.x86_64                                                    12/19 
      インストール中   : xorriso-1.5.4-4.fc36.x86_64                                                        13/19 
      scriptletの実行中: xorriso-1.5.4-4.fc36.x86_64                                                        13/19 
      インストール中   : virt-manager-common-4.0.0-1.fc36.noarch                                            14/19 
      インストール中   : virt-install-4.0.0-1.fc36.noarch                                                   15/19 
      インストール中   : virt-manager-4.0.0-1.fc36.noarch                                                   16/19 
      インストール中   : virt-viewer-11.0-2.fc36.x86_64                                                     17/19 
      インストール中   : libvirt-8.1.0-2.fc36.x86_64                                                        18/19 
      インストール中   : bridge-utils-1.7.1-4.fc36.x86_64                                                   19/19 
      scriptletの実行中: libvirt-daemon-driver-vbox-8.1.0-2.fc36.x86_64                                     19/19 
      scriptletの実行中: libvirt-daemon-driver-lxc-8.1.0-2.fc36.x86_64                                      19/19 
      scriptletの実行中: libvirt-daemon-driver-libxl-8.1.0-2.fc36.x86_64                                    19/19 
      scriptletの実行中: libvirt-daemon-config-nwfilter-8.1.0-2.fc36.x86_64                                 19/19 
      scriptletの実行中: bridge-utils-1.7.1-4.fc36.x86_64                                                   19/19 
      検証             : bridge-utils-1.7.1-4.fc36.x86_64                                                    1/19 
      検証             : kde-filesystem-4-67.fc36.x86_64                                                     2/19 
      検証             : libburn-1.5.4-4.fc36.x86_64                                                         3/19 
      検証             : libgovirt-0.3.8-3.fc36.x86_64                                                       4/19 
      検証             : libisoburn-1.5.4-4.fc36.x86_64                                                      5/19 
      検証             : libisofs-1.5.4-3.fc36.x86_64                                                        6/19 
      検証             : libvirt-8.1.0-2.fc36.x86_64                                                         7/19 
      検証             : libvirt-client-8.1.0-2.fc36.x86_64                                                  8/19 
      検証             : libvirt-daemon-config-nwfilter-8.1.0-2.fc36.x86_64                                  9/19 
      検証             : libvirt-daemon-driver-libxl-8.1.0-2.fc36.x86_64                                    10/19 
      検証             : libvirt-daemon-driver-lxc-8.1.0-2.fc36.x86_64                                      11/19 
      検証             : libvirt-daemon-driver-vbox-8.1.0-2.fc36.x86_64                                     12/19 
      検証             : python3-libvirt-8.0.0-2.fc36.x86_64                                                13/19 
      検証             : virt-install-4.0.0-1.fc36.noarch                                                   14/19 
      検証             : virt-manager-4.0.0-1.fc36.noarch                                                   15/19 
      検証             : virt-manager-common-4.0.0-1.fc36.noarch                                            16/19 
      検証             : virt-viewer-11.0-2.fc36.x86_64                                                     17/19 
      検証             : xorriso-1.5.4-4.fc36.x86_64                                                        18/19 
      検証             : kf5-filesystem-5.97.0-2.fc36.x86_64                                                19/19 
    
    インストール済み:
      bridge-utils-1.7.1-4.fc36.x86_64                     kde-filesystem-4-67.fc36.x86_64                        
      kf5-filesystem-5.97.0-2.fc36.x86_64                  libburn-1.5.4-4.fc36.x86_64                            
      libgovirt-0.3.8-3.fc36.x86_64                        libisoburn-1.5.4-4.fc36.x86_64                         
      libisofs-1.5.4-3.fc36.x86_64                         libvirt-8.1.0-2.fc36.x86_64                            
      libvirt-client-8.1.0-2.fc36.x86_64                   libvirt-daemon-config-nwfilter-8.1.0-2.fc36.x86_64     
      libvirt-daemon-driver-libxl-8.1.0-2.fc36.x86_64      libvirt-daemon-driver-lxc-8.1.0-2.fc36.x86_64          
      libvirt-daemon-driver-vbox-8.1.0-2.fc36.x86_64       python3-libvirt-8.0.0-2.fc36.x86_64                    
      virt-install-4.0.0-1.fc36.noarch                     virt-manager-4.0.0-1.fc36.noarch                       
      virt-manager-common-4.0.0-1.fc36.noarch              virt-viewer-11.0-2.fc36.x86_64                         
      xorriso-1.5.4-4.fc36.x86_64                         
    
    完了しました!
    

    CentOS の場合:

    $ sudo yum install qemu-kvm libvirt virt-install virt-manager virt-viewer bridge-utils
    

  2. パッケージのインストールが完了したら、QEMU、KVM を有効にするために再起動する。
    ※ Fedora 36 では再起動なしで利用可能である😃
  • linux/qemu-kvm/install.1663013178.txt.gz
  • 最終更新: 2022/09/13 05:06
  • by ともやん