How To Install libwebp.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libwebp.x86_64 in Amazon Linux 2. libwebp.x86_64 is Library and tools for the WebP graphics format

Introduction

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

What is libwebp.x86_64

WebP is an image format that does lossy compression of digital photographic images. WebP consists of a codec based on VP8, and a container based on RIFF. Webmasters, web developers and browser developers can use WebP to compress, archive and distribute digital images more efficiently.

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

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

sudo yum -y install libwebp.x86_64

How To Uninstall libwebp.x86_64 on Amazon Linux 2

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

sudo yum remove libwebp.x86_64

libwebp.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libwebp.so.4
/usr/lib64/libwebp.so.4.0.2
/usr/lib64/libwebpmux.so.0
/usr/lib64/libwebpmux.so.0.0.0
/usr/share/doc/libwebp-0.3.0
/usr/share/doc/libwebp-0.3.0/AUTHORS
/usr/share/doc/libwebp-0.3.0/COPYING
/usr/share/doc/libwebp-0.3.0/NEWS
/usr/share/doc/libwebp-0.3.0/PATENTS
/usr/share/doc/libwebp-0.3.0/README

References

Summary

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