How To Install libplacebo on CentOS 7

In this tutorial we learn how to install libplacebo on CentOS 7. libplacebo is Reusable library for GPU-accelerated video/image rendering

Introduction

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

What is libplacebo

libplacebo is essentially the core rendering algorithms and ideas of mpv turned into a library. This grew out of an interest to accomplish the following goals - Clean up mpv’s internal API and make it reusable for other projects. - Provide a standard library of useful GPU-accelerated image processing primitives based on GLSL, so projects like VLC or Firefox can use them without incurring a heavy dependency on libmpv. - Rewrite core parts of mpv’s GPU-accelerated video renderer on top of redesigned abstractions. (Basically, I wanted to eliminate code smell like shader_cache.c and totally redesign gpu/video.c)

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

Install libplacebo on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libplacebo

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

sudo dnf -y install libplacebo

How To Uninstall libplacebo on CentOS 7

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

sudo dnf remove libplacebo

References

Summary

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