How To Install qemu.x86_64 on Amazon Linux 2

In this tutorial we learn how to install qemu.x86_64 in Amazon Linux 2. qemu.x86_64 is QEMU is a FAST! processor emulator

Introduction

In this tutorial we learn how to install qemu.x86_64 on Amazon Linux 2.

What is qemu.x86_64

QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. QEMU has two operating modes * Full system emulation. In this mode, QEMU emulates a full system (for example a PC), including a processor and various peripherials. It can be used to launch different Operating Systems without rebooting the PC or to debug system code. * User mode emulation. In this mode, QEMU can launch Linux processes compiled for one CPU on another CPU. As QEMU requires no host kernel patches to run, it is safe and easy to use.

We can use yum to install qemu.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install qemu.x86_64.

Install qemu.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install qemu.x86_64 using yum by running the following command:

sudo yum -y install qemu.x86_64

How To Uninstall qemu.x86_64 on Amazon Linux 2

To uninstall only the qemu.x86_64 package we can use the following command:

sudo yum remove qemu.x86_64

qemu.x86_64 Package Contents on Amazon Linux 2

References

Summary

In this tutorial we learn how to install qemu.x86_64 on Amazon Linux 2 using yum.