How To Install virglrenderer.x86_64 on Amazon Linux 2

In this tutorial we learn how to install virglrenderer.x86_64 in Amazon Linux 2. virglrenderer.x86_64 is Virgl Rendering library.

Introduction

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

What is virglrenderer.x86_64

The virgil3d rendering library is a library used by qemu to implement 3D GPU support for the virtio GPU.

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

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

sudo yum -y install virglrenderer.x86_64

How To Uninstall virglrenderer.x86_64 on Amazon Linux 2

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

sudo yum remove virglrenderer.x86_64

virglrenderer.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libvirglrenderer.so.0
/usr/lib64/libvirglrenderer.so.0.2.0
/usr/share/licenses/virglrenderer-0.6.0
/usr/share/licenses/virglrenderer-0.6.0/COPYING

References

Summary

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