How To Install libyuv on Fedora 34

libyuv is YUV conversion and scaling functionality library YUV conversion and scaling functionality library

Introduction

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

What is libyuv

This is an open source project that includes YUV conversion and scaling functionality. Converts all webcam formats to YUV (I420). Convert YUV to formats for rendering/effects. Rotate by 90 degrees to adjust for mobile devices in portrait mode. Scale YUV to prepare content for compression, with point, bilinear or box filter. libyuv 0 0.41.20201024git19d71f6.fc34 x86_64 143 k libyuv-0-0.41.20201024git19d71f6.fc34.src.rpm fedora YUV conversion and scaling functionality library https BSD This is an open source project that includes YUV conversion and scaling functionality. Converts all webcam formats to YUV (I420). Convert YUV to formats for rendering/effects. Rotate by 90 degrees to adjust for mobile devices in portrait mode. Scale YUV to prepare content for compression, with point, bilinear or box filter.

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

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

sudo dnf -y install libyuv

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

sudo yum -y install libyuv

How To Uninstall libyuv on Fedora 34

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

sudo dnf remove libyuv

libyuv Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/26b7c1c592e9487a194c4d0e5a58ce0f31d870
/usr/lib/libyuv.so.0
/usr/lib/libyuv.so.0.0.0
/usr/share/doc/libyuv
/usr/share/doc/libyuv/AUTHORS
/usr/share/doc/libyuv/PATENTS
/usr/share/doc/libyuv/README.md
/usr/share/licenses/libyuv
/usr/share/licenses/libyuv/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/35a82d66464011f0a3131ad8149ae164e6377e
/usr/lib64/libyuv.so.0
/usr/lib64/libyuv.so.0.0.0
/usr/share/doc/libyuv
/usr/share/doc/libyuv/AUTHORS
/usr/share/doc/libyuv/PATENTS
/usr/share/doc/libyuv/README.md
/usr/share/licenses/libyuv
/usr/share/licenses/libyuv/LICENSE

References

Summary

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