How To Install libavif on Fedora 34

libavif is Library for encoding and decoding .avif files Library for encoding and decoding .avif files

Introduction

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

What is libavif

This library aims to be a friendly, portable C implementation of the AV1 Image File Format, as described here https libavif 0.9.0 2.fc34 x86_64 64 k libavif-0.9.0-2.fc34.src.rpm updates Library for encoding and decoding .avif files https BSD This library aims to be a friendly, portable C implementation of the AV1 Image File Format, as described here https

We can use yum or dnf to install libavif on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libavif.

Install libavif 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 libavif using dnf by running the following command:

sudo dnf -y install libavif

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

sudo yum -y install libavif

How To Uninstall libavif on Fedora 34

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

sudo dnf remove libavif

libavif Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/265f2eeb26829252a278a22f039436cc020ca5
/usr/lib64/libavif.so.10
/usr/lib64/libavif.so.10.0.0
/usr/share/licenses/libavif
/usr/share/licenses/libavif/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/0459b14e254031ede267a396ab425a54220b6e
/usr/lib/libavif.so.10
/usr/lib/libavif.so.10.0.0
/usr/share/licenses/libavif
/usr/share/licenses/libavif/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/6b04ea619f61096fdb91bc88cb090c1252fe1d
/usr/lib64/libavif.so.10
/usr/lib64/libavif.so.10.0.0
/usr/share/licenses/libavif
/usr/share/licenses/libavif/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/7681cb9d7feeec95db5b09b2f525e40edf9b36
/usr/lib/libavif.so.10
/usr/lib/libavif.so.10.0.0
/usr/share/licenses/libavif
/usr/share/licenses/libavif/LICENSE

References

Summary

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