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

Install opusfile on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install opusfile

Install opusfile on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8

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

sudo dnf remove opusfile

opusfile Package Contents on CentOS 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 CentOS 8 using yum and dnf.