What is KVM and QEMU? | How to Install KVM/QEMU on Ubuntu 19.04/18.10/18.04

In this article, we will examine the KVM and QEMU allow to use virtualization technology on Linux systems and how to install them on Linux systems.

What is KVM and QEMU?

How to Use KVM and QEMU

What is KVM?

KVM (Kernel-Based Virtual Machine) is an open-source and virtualization solution for Linux kernel. KVM provides a complete virtualization solution by enabling hardware acceleration on processors with Intel VTx and AMD-V technology.

In addition, KVM requires QEMU to use full virtualization capability.

For more information on this virtualization solution, visit the website: https://www.linux-kvm.org/page/Main_Page.

What is QEMU?

QEMU (Quick EMUlator) is an open-source and complete system emulator. You can run and use systems such as Windows and Linux on the QEMU emulator program. This virtualization solution was also developed to work on different hardware platforms and provides a Hypervisor Type 1 virtualization solution using KVM for hardware acceleration.

QEMU can run ARM software on an x86-based computer. An example of an ARM software is the operation of an Android emulator on Eclipse software used by Android software developers. Click here to learn more about what ARM is.

For more information about QEMU, check out the website: https://www.qemu.org/.

What’s the Difference?

Now let’s explain the difference between these two structures. These terms often used together.

The difference is that KVM is a virtualization solution for Linux systems. QEMU creates a GUI for the KVM.

A virtualization solution with QEMU requires a KVM.

How to Install it?

Configuring KVM/QEMU on a Linux-based Ubuntu, Debian, Linux Mint, Fedora, Kali Linux and openSUSE systems is simple and easy.

When creating a new virtual machine after installation, you can select KVM and QEMU as Virt Type.

Running it on Ubuntu 18.04

For installation on Ubuntu 18.04 (Bionic Beaver), first, open the Terminal by pressing CTRL + Alt + T and follow the steps below.

   Step 1

To install it on Ubuntu 18.04, type the following command in Terminal and press Enter.

sudo apt-get install qemu-kvm qemu virt-manager virt-viewer libvirt-bin

 

NOTE: The Libvirt-bin package split into two parts in version 18.10, so execute the command below to install it on Ubuntu 18.10 or 19.04.

sudo apt-get install qemu-kvm qemu virt-manager virt-viewer libvirt-daemon-system libvirt-clients

 
sudo apt-get install qemu-kvm qemu virt-manager virt-viewer libvirt-bin

   Step 2

Press Y to confirm the installation, then press Enter.

Do you want to continue? Y/N

   Step 3

After installation, open Ubuntu Launcher Find and run Virtual Machine Manager.

Virtual Machine Manager

   Step 4

You can check the Virtual Machine Manager version in Help / About.

Verifying Version of Virtual Machine Manager

How to Configure Virtual Machine Manager in Linux ⇒ Video

You can watch the video below for installation on Linux / Ubuntu 18.04 and also subscribe to our YouTube channel to support us.


Running it on Ubuntu 18.10

Ubuntu 18.10 (Cosmic Cuttlefish) is currently in beta. You can follow the above steps, in the same way, to install it on this release.

  1. ping -c 2 www.google.com
  2. sudo apt-get install qemu-kvm qemu virt-manager virt-viewer libvirt-daemon-system libvirt-clients

   Final Word


In this article, after briefly talking about KVM and QEMU technology, we performed the installation steps on Linux systems. Thanks for following us!

   Related Articles


How to Setup openSUSE Linux
♦ How to Setup PlayOnLinux
♦ How to Run Chrome in Ubuntu
♦ How to Run Wine on Ubuntu
What is VMware Workstation?

One Comment

  1. Justin Kringstad 4 January 2020

    can you run this on windows linux subsystem?

    Reply

Add a Comment

Your email address will not be published. Required fields are marked *