KVM ,i.e, Kernel Virtual Machine is a Linux kernel module that allows a user space program to utilize the hardware virtualization features of various processors. That is it provides a virtual environment in which we can run several operating systems utilizing resources of the host machines
So before Installing KVM check if your system supports virtualization.
Now follow following steps to install KVM :
1. Log in as root
$sudo -i
2. Now update your system
#apt-get update
#apt-get upgrade
3. Install packages
#apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
#apt-get install qemu-system
4. Set group
#adduser `id -un` libvirtd
5.Install Virtual Machine Manager for GUI
#apt-get install virt-manager