How To Install flac-libs on Rocky Linux 8

In this tutorial we learn how to install flac-libs on Rocky Linux 8. flac-libs is Libraries for the Free Lossless Audio Codec

Introduction

In this tutorial we learn how to install flac-libs on Rocky Linux 8.

What is flac-libs

FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is similar to Ogg Vorbis, but lossless. The FLAC project consists of the stream format, reference encoders and decoders in library form, flac, a command-line program to encode and decode FLAC files, metaflac, a command-line metadata editor for FLAC files and input plugins for various music players. This package contains the FLAC libraries.

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

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

sudo dnf -y install flac-libs

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

sudo yum -y install flac-libs

How To Uninstall flac-libs on Rocky Linux 8

To uninstall only the flac-libs package we can use the following command:

sudo dnf remove flac-libs

flac-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/7459a05c3ca2b481acc87b6c888308859185a8
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/6e5ff2fda64075b5c78ca05a81d5ea2c685c6a
/usr/lib/libFLAC++.so.6
/usr/lib/libFLAC++.so.6.3.0
/usr/lib/libFLAC.so.8
/usr/lib/libFLAC.so.8.3.0
/usr/share/doc/flac-libs
/usr/share/doc/flac-libs/AUTHORS
/usr/share/doc/flac-libs/COPYING.FDL
/usr/share/doc/flac-libs/COPYING.GPL
/usr/share/doc/flac-libs/COPYING.LGPL
/usr/share/doc/flac-libs/COPYING.Xiph
/usr/share/doc/flac-libs/README
/usr/lib/.build-id
/usr/lib/.build-id/64
/usr/lib/.build-id/64/ac1557c3794476ff692c556d4cce908be39ece
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/eb9e51d9cc32eb8d74d6905f06df433d606dc0
/usr/lib64/libFLAC++.so.6
/usr/lib64/libFLAC++.so.6.3.0
/usr/lib64/libFLAC.so.8
/usr/lib64/libFLAC.so.8.3.0
/usr/share/doc/flac-libs
/usr/share/doc/flac-libs/AUTHORS
/usr/share/doc/flac-libs/COPYING.FDL
/usr/share/doc/flac-libs/COPYING.GPL
/usr/share/doc/flac-libs/COPYING.LGPL
/usr/share/doc/flac-libs/COPYING.Xiph
/usr/share/doc/flac-libs/README

References

Summary

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