How To Install virglrenderer.i686 on Amazon Linux 2

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

Introduction

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

What is virglrenderer.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install virglrenderer.i686.

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

sudo yum -y install virglrenderer.i686

How To Uninstall virglrenderer.i686 on Amazon Linux 2

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

sudo yum remove virglrenderer.i686

virglrenderer.i686 Package Contents on Amazon Linux 2

/usr/lib/libvirglrenderer.so.0
/usr/lib/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.i686 on Amazon Linux 2 using yum.