# Running Virtual Machines on Debian/Ubuntu using QEMU, libvirt and Virt Manager

1. Log into the Linux device
2. Run the following commands in a terminal window
   # update software repositories
   sudo apt update
   # install available software updates
   sudo apt upgrade -y
   # install qemu
   sudo apt install qemu qemu-kvm qemu-system qemu-utils -y
   # install libvirt
   sudo apt install libvirt-clients libvirt-daemon-system virtinst -y
   # install virt-manager UI
   sudo apt install virt-manager -y
3. Launch Virt-Manager from the applications menu
4. When prompted, enter the sudo password
5. Click the Create VM button
6. Select an installation method, Local install media in the example
7. Click the Forward button
8. Browse to the installation media
9. If the operating system is not found automatically, uncheck the Automatically detect checkbox and use the search box to manually set the OS
10. Click the Forward button
11. Set the amount of memory and number of CPUs for the VM
12. Click the Forward button
13. Enter the size of the virtual disk to be created for the VM
14. Click the Forward button
15. Enter a name for the VM
16. Click the Finish button
17. If prompted, select Yes to start the virtual network interface