Fedora/RHEL/CentOS Linux install virt-what command

Fig.02: Fedora/RHEL/CentOS Linux install virt-what command

Fig.02: Fedora/RHEL/CentOS Linux install virt-what command

To install virt-what on a Fedora Linux VM, run:
$ sudo dnf install virt-what
To install virt-what on a RHEL/CentOS Linux VM, run:
$ sudo yum install virt-what
Sample outputs:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repos.dfw.quadranet.com
 * extras: mirror.rackspace.com
 * updates: chicago.gaminghost.co
Resolving Dependencies
--> Running transaction check
---> Package virt-what.x86_64 0:1.13-6.el7 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=================================================================
 Package         Arch         Version           Repository  Size
=================================================================
Installing:
 virt-what       x86_64       1.13-6.el7        base        27 k
 
Transaction Summary
=================================================================
Install  1 Package
 
Total download size: 27 k
Installed size: 41 k
Is this ok [y/d/N]: y
Downloading packages:
virt-what-1.13-6.el7.x86_64.rpm             |  27 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : virt-what-1.13-6.el7.x86_64                   1/1 
  Verifying  : virt-what-1.13-6.el7.x86_64                   1/1 
 
Installed:
  virt-what.x86_64 0:1.13-6.el7                                  
 
Complete!

Find VM type

$ sudo virt-what
Sample outputs:

vmware

Examples and usage: How to determine Linux guest VM virtualization technology