How To Install libvorbis on Rocky Linux 8

In this tutorial we learn how to install libvorbis on Rocky Linux 8. libvorbis is The Vorbis General Audio Compression Codec

Introduction

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

What is libvorbis

Ogg Vorbis is a fully open, non-proprietary, patent- and royalty-free, general-purpose compressed audio format for audio and music at fixed and variable bitrates. The libvorbis package contains runtime libraries for use in programs that support Ogg Vorbis.

We can use yum or dnf to install libvorbis on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libvorbis.

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

sudo dnf -y install libvorbis

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

sudo yum -y install libvorbis

How To Uninstall libvorbis on Rocky Linux 8

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

sudo dnf remove libvorbis

libvorbis Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/ba15bd71c737be5a7cf1d0b21672e2d4c21ac9
/usr/lib/.build-id/75
/usr/lib/.build-id/75/6c12fb08fa991033685b88a4c87e2bb88fff3f
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/cec484a040e13cd542e60d501be7ace3b08fe4
/usr/lib64/libvorbis.so.0
/usr/lib64/libvorbis.so.0.4.8
/usr/lib64/libvorbisenc.so.2
/usr/lib64/libvorbisenc.so.2.0.11
/usr/lib64/libvorbisfile.so.3
/usr/lib64/libvorbisfile.so.3.3.7
/usr/share/doc/libvorbis
/usr/share/doc/libvorbis/AUTHORS
/usr/share/licenses/libvorbis
/usr/share/licenses/libvorbis/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/35f17ad955e4f8b1befb3d84c8cadcfa76802e
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/5fb6be7a052069b8cce67c9985a94b2858fbf6
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/2e77a9ac5a1e54e9d89532c383a81cbc22bcde
/usr/lib/libvorbis.so.0
/usr/lib/libvorbis.so.0.4.8
/usr/lib/libvorbisenc.so.2
/usr/lib/libvorbisenc.so.2.0.11
/usr/lib/libvorbisfile.so.3
/usr/lib/libvorbisfile.so.3.3.7
/usr/share/doc/libvorbis
/usr/share/doc/libvorbis/AUTHORS
/usr/share/licenses/libvorbis
/usr/share/licenses/libvorbis/COPYING

References

Summary

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