How To Install libyuv on CentOS 7

In this tutorial we learn how to install libyuv on CentOS 7. libyuv is YUV conversion and scaling functionality library

Introduction

In this tutorial we learn how to install libyuv on CentOS 7.

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.

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

Install libyuv on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libyuv

Install libyuv on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libyuv

How To Uninstall libyuv on CentOS 7

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

sudo dnf remove libyuv

References

Summary

In this tutorial we learn how to install libyuv on CentOS 7 using yum and dnf.