How To Install libwebp on Rocky Linux 8
Introduction
In this tutorial we learn how to install libwebp
on Rocky Linux 8.
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.
We can use yum
or dnf
to install libwebp
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libwebp.
Install libwebp on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libwebp
using dnf
by running the following command:
sudo dnf -y install libwebp
Install libwebp on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
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 Rocky Linux 8
To uninstall only the libwebp
package we can use the following command:
sudo dnf remove libwebp
libwebp Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/472ecfe84c6dc2aff7b4fbf785d3e1901d2667
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/a58bb258660749245dfbc2300857765c1d37d0
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/4be7daff3b8139322e5f3d5fe2d540de15b6ac
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/db2d313ac5339fa8522b8e677709b052462fb2
/usr/lib/libwebp.so.7
/usr/lib/libwebp.so.7.0.2
/usr/lib/libwebpdecoder.so.3
/usr/lib/libwebpdecoder.so.3.0.2
/usr/lib/libwebpdemux.so.2
/usr/lib/libwebpdemux.so.2.0.4
/usr/lib/libwebpmux.so.3
/usr/lib/libwebpmux.so.3.0.2
/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/11
/usr/lib/.build-id/11/ff9ad9b4f0ee5c182bed0da661199c1160e964
/usr/lib/.build-id/76
/usr/lib/.build-id/76/853e0fec617d3acb780cfa24308589e85327f1
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/a9caa4a5e553c593624bb6968a10f50cba5a04
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/2b8f18f2e9ce693a2a7cce9469d352c0f34f47
/usr/lib64/libwebp.so.7
/usr/lib64/libwebp.so.7.0.2
/usr/lib64/libwebpdecoder.so.3
/usr/lib64/libwebpdecoder.so.3.0.2
/usr/lib64/libwebpdemux.so.2
/usr/lib64/libwebpdemux.so.2.0.4
/usr/lib64/libwebpmux.so.3
/usr/lib64/libwebpmux.so.3.0.2
/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 Rocky Linux 8 using yum and dnf.