Introduction to FLAC

FLAC is an audio CODEC similar to MP3, but lossless, meaning that audio is compressed without losing any information.

Package information

Installation of FLAC

Install FLAC by running the following commands:

LIBS=-lm ./configure --prefix=/usr &&
make &&
make install


If you run the make check tests, it will take a very long time (about 34 SBUs) and use about 100 MB of disk space.

Command explanations

LIBS=-lm ./configure --prefix=/usr: libFLAC uses a function from the math library but is not linked with libm. Passing the environment variable to configure satisfies this dependency.


The FLAC package contains flac, metaflac, libFLAC, libFLAC++, libOggFLAC, libOggFLAC++ and libxmms-flac.



flac is a command-line utility for encoding, decoding and converting FLAC files.


metaflac is a program for listing, adding, removing, or editing metadata in one or more FLAC files.

libFLAC, libFLAC++, libOggFLAC and libOggFLAC++

These libraries provide native FLAC and Ogg FLAC C/C++ APIs for programs utilizing FLAC.


libxmms-flac is a plugin for XMMS.

Last updated on 2005-02-14 08:12:36 -0700