How To Install virt-p2v-maker on CentOS 8

virt-p2v-maker is Convert a physical machine to run on KVM

Introduction

In this tutorial we learn how to install virt-p2v-maker on CentOS 8.

What is virt-p2v-maker

Virt-p2v converts (virtualizes) physical machines so they can be run as virtual machines under KVM. This package contains the tools needed to make a virt-p2v boot CD or USB key which is booted on the physical machine to perform the conversion. You also need virt-v2v installed somewhere else to complete the conversion. To convert virtual machines from other hypervisors, see virt-v2v.

We can use yum or dnf to install virt-p2v-maker on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install virt-p2v-maker.

Install virt-p2v-maker on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install virt-p2v-maker using dnf by running the following command:

sudo dnf -y install virt-p2v-maker

Install virt-p2v-maker on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install virt-p2v-maker using yum by running the following command:

sudo yum -y install virt-p2v-maker

How To Uninstall virt-p2v-maker on CentOS 8

To uninstall only the virt-p2v-maker package we can use the following command:

sudo dnf remove virt-p2v-maker

virt-p2v-maker Package Contents on CentOS 8

/usr/bin/virt-p2v-make-disk
/usr/bin/virt-p2v-make-kickstart
/usr/lib64/virt-p2v
/usr/lib64/virt-p2v/virt-p2v.xz
/usr/share/bash-completion/completions/virt-p2v-make-disk
/usr/share/bash-completion/completions/virt-p2v-make-kickstart
/usr/share/doc/virt-p2v-maker
/usr/share/doc/virt-p2v-maker/README
/usr/share/licenses/virt-p2v-maker
/usr/share/licenses/virt-p2v-maker/COPYING
/usr/share/man/man1/virt-p2v-make-disk.1.gz
/usr/share/man/man1/virt-p2v-make-kickstart.1.gz
/usr/share/man/man1/virt-p2v.1.gz
/usr/share/virt-p2v
/usr/share/virt-p2v/dependencies.archlinux
/usr/share/virt-p2v/dependencies.debian
/usr/share/virt-p2v/dependencies.redhat
/usr/share/virt-p2v/dependencies.suse
/usr/share/virt-p2v/issue
/usr/share/virt-p2v/kiwi-config.sh
/usr/share/virt-p2v/kiwi-config.xml.in
/usr/share/virt-p2v/launch-virt-p2v
/usr/share/virt-p2v/p2v.ks.in
/usr/share/virt-p2v/p2v.service

References

Summary

In this tutorial we learn how to install virt-p2v-maker on CentOS 8 using yum and dnf.