How To Install libwebp-tools.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libwebp-tools.x86_64 in Amazon Linux 2. libwebp-tools.x86_64 is The WebP command line tools

Introduction

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

What is libwebp-tools.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-tools.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-tools.x86_64.

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

sudo yum -y install libwebp-tools.x86_64

How To Uninstall libwebp-tools.x86_64 on Amazon Linux 2

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

sudo yum remove libwebp-tools.x86_64

libwebp-tools.x86_64 Package Contents on Amazon Linux 2

/usr/bin/cwebp
/usr/bin/dwebp
/usr/bin/gif2webp
/usr/bin/webpmux
/usr/share/man/man1/cwebp.1.gz
/usr/share/man/man1/dwebp.1.gz
/usr/share/man/man1/gif2webp.1.gz
/usr/share/man/man1/webpmux.1.gz

References

Summary

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