How To Install opusfile on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install opusfile on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install opusfile.

Install opusfile on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install opusfile

Install opusfile on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install opusfile

How To Uninstall opusfile on Rocky Linux 8

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

sudo dnf remove opusfile

opusfile Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/db7b7a8a8bf523c9b1f41f6d3dff32cb67685e
/usr/lib/.build-id/da
/usr/lib/.build-id/da/4a9c0b9b6b66872d4fe9f301f9f3a234900555
/usr/lib64/libopusfile.so.0
/usr/lib64/libopusfile.so.0.4.4
/usr/lib64/libopusurl.so.0
/usr/lib64/libopusurl.so.0.4.4
/usr/share/doc/opusfile
/usr/share/doc/opusfile/AUTHORS
/usr/share/licenses/opusfile
/usr/share/licenses/opusfile/COPYING

References

Summary

In this tutorial we learn how to install opusfile on Rocky Linux 8 using yum and dnf.