How To Install qemu-user.x86_64 on Amazon Linux 2

In this tutorial we learn how to install qemu-user.x86_64 in Amazon Linux 2. qemu-user.x86_64 is QEMU user mode emulation of qemu targets

Introduction

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

What is qemu-user.x86_64

This package provides the user mode emulation of qemu targets

We can use yum to install qemu-user.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-user.x86_64.

Install qemu-user.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-user.x86_64 using yum by running the following command:

sudo yum -y install qemu-user.x86_64

How To Uninstall qemu-user.x86_64 on Amazon Linux 2

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

sudo yum remove qemu-user.x86_64

qemu-user.x86_64 Package Contents on Amazon Linux 2

/usr/bin/qemu-aarch64
/usr/bin/qemu-aarch64_be
/usr/bin/qemu-i386
/usr/bin/qemu-x86_64
/usr/share/systemtap/tapset/qemu-aarch64-simpletrace.stp
/usr/share/systemtap/tapset/qemu-aarch64.stp
/usr/share/systemtap/tapset/qemu-aarch64_be-simpletrace.stp
/usr/share/systemtap/tapset/qemu-aarch64_be.stp
/usr/share/systemtap/tapset/qemu-i386-simpletrace.stp
/usr/share/systemtap/tapset/qemu-i386.stp
/usr/share/systemtap/tapset/qemu-x86_64-simpletrace.stp
/usr/share/systemtap/tapset/qemu-x86_64.stp

References

Summary

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