How To Install libwebp on Fedora 34

libwebp is Library and tools for the WebP graphics format Library and tools for the WebP graphics format

Introduction

In this tutorial we learn how to install libwebp on Fedora 34.

What is libwebp

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. libwebp 1.2.0 1.fc34 x86_64 280 k libwebp-1.2.0-1.fc34.src.rpm fedora Library and tools for the WebP graphics format http BSD 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 or dnf to install libwebp on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libwebp.

Install libwebp on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libwebp using dnf by running the following command:

sudo dnf -y install libwebp

Install libwebp on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libwebp using yum by running the following command:

sudo yum -y install libwebp

How To Uninstall libwebp on Fedora 34

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

sudo dnf remove libwebp

libwebp Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/eddedfb74ed1d7e8269df97abe2d086b44cfdb
/usr/lib/.build-id/44
/usr/lib/.build-id/44/c2a0f5e00445c84f4aee126bcb634006230975
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/d2627803c79eaf56d327ed4f9c390bdfa36c0c
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/450777c2c80587eebd9f194af7dd1c6937e2ae
/usr/lib64/libwebp.so.7
/usr/lib64/libwebp.so.7.1.1
/usr/lib64/libwebpdecoder.so.3
/usr/lib64/libwebpdecoder.so.3.1.1
/usr/lib64/libwebpdemux.so.2
/usr/lib64/libwebpdemux.so.2.0.7
/usr/lib64/libwebpmux.so.3
/usr/lib64/libwebpmux.so.3.0.6
/usr/share/doc/libwebp
/usr/share/doc/libwebp/AUTHORS
/usr/share/doc/libwebp/NEWS
/usr/share/doc/libwebp/PATENTS
/usr/share/doc/libwebp/README
/usr/share/licenses/libwebp
/usr/share/licenses/libwebp/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/951a18ff37a684ba7e8a9b33765449bb9f625c
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/fb569aa735a097d506827161a1f80d01cb2539
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/88aab5d6092caa75813e3e6dbf906a0f9fa696
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/ec8e1db3c7151d4cdf2f619764099f1f4f0aee
/usr/lib/libwebp.so.7
/usr/lib/libwebp.so.7.1.1
/usr/lib/libwebpdecoder.so.3
/usr/lib/libwebpdecoder.so.3.1.1
/usr/lib/libwebpdemux.so.2
/usr/lib/libwebpdemux.so.2.0.7
/usr/lib/libwebpmux.so.3
/usr/lib/libwebpmux.so.3.0.6
/usr/share/doc/libwebp
/usr/share/doc/libwebp/AUTHORS
/usr/share/doc/libwebp/NEWS
/usr/share/doc/libwebp/PATENTS
/usr/share/doc/libwebp/README
/usr/share/licenses/libwebp
/usr/share/licenses/libwebp/COPYING

References

Summary

In this tutorial we learn how to install libwebp on Fedora 34 using yum and dnf.