How To Install flac-libs on CentOS 8

flac-libs is Libraries for the Free Lossless Audio Codec Libraries for the Free Lossless Audio Codec

Introduction

In this tutorial we learn how to install flac-libs on CentOS 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. flac-libs 1.3.2 9.el8 x86_64 217 k flac-1.3.2-9.el8.src.rpm appstream Libraries for the Free Lossless Audio Codec http BSD and GPLv2+ and GFDL 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 CentOS 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 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 flac-libs using dnf by running the following command:

sudo dnf -y install flac-libs

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

sudo yum -y install flac-libs

How To Uninstall flac-libs on CentOS 8

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

sudo dnf remove flac-libs

flac-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/2d150900c39d1ac99ea4c86cda5e804ba694b7
/usr/lib/.build-id/db
/usr/lib/.build-id/db/b762e2396887299be6e1ff9541075ac7f04757
/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/5e/013cdca1e20dd733579913b5ab72279fbbb878
/usr/lib/.build-id/af
/usr/lib/.build-id/af/a8f272c07d3b9c529f451f607defa5e46d2e0c
/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 CentOS 8 using yum and dnf.