How To Install opusfile on CentOS 7

In this tutorial we learn how to install opusfile on CentOS 7. opusfile is A high-level API for decoding and seeking within .opus files

Introduction

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

What is opusfile

libopusfile provides a high-level API for decoding and seeking within .opus files. It includes * Support for all files with at least one Opus stream (including multichannel files or Ogg files where Opus is muxed with something else). * Full support, including seeking, for chained files. * A simple stereo downmixing API (allowing chained files to be decoded with a single output format, even if the channel count changes). * Support for reading from a file, memory buffer, or over HTTP(S) (including seeking). * Support for both random access and streaming data sources.

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

Install opusfile on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install opusfile

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

sudo dnf -y install opusfile

How To Uninstall opusfile on CentOS 7

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

sudo dnf remove opusfile

References

Summary

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