How To Install libtheora on CentOS 7

In this tutorial we learn how to install libtheora on CentOS 7. libtheora is Theora Video Compression Codec

Introduction

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

What is libtheora

Theora is Xiph.Org’s first publicly released video codec, intended for use within the Ogg’s project’s Ogg multimedia streaming system. Theora is derived directly from On2’s VP3 codec; Currently the two are nearly identical, varying only in encapsulating decoder tables in the bitstream headers, but Theora will make use of this extra freedom in the future to improve over what is possible with VP3. Theora is Xiph.Org’s first publicly released video codec, intended for use within the Ogg’s project’s Ogg multimedia streaming system. Theora is derived directly from On2’s VP3 codec; Currently the two are nearly identical, varying only in encapsulating decoder tables in the bitstream headers, but Theora will make use of this extra freedom in the future to improve over what is possible with VP3.

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

Install libtheora on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libtheora

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

sudo dnf -y install libtheora

How To Uninstall libtheora on CentOS 7

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

sudo dnf remove libtheora

References

Summary

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