Introduction to FLAC

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

This package is known to build and work properly using an LFS-7.6 systemd platform.

Package Information

FLAC Dependencies


libogg-1.3.2, NASM-2.11.05, DocBook-utils-0.6.14, Doxygen-1.8.8 and Valgrind-3.10.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/flac

Installation of FLAC

Install FLAC by running the following commands:

./configure --prefix=/usr --disable-thorough-tests &&

To test the results, issue: make check. Note that if you passed the --enable-exhaustive-tests and --enable-valgrind-testing parameters to configure and then run the test suite, it will take a very long time (up to 300 SBUs) and use about 375 MB of disk space.

Now, as the root user:

make install

Command Explanations

--disable-thorough-tests: This parameter is used so that the test suite will complete in a reasonable amount of time. Remove it if you desire more extensive tests.

--enable-sse: This option is off by default and should be set on if your machine has SSE capability. One way to find out if you have SSE is to issue cat /proc/cpuinfo and see if sse is listed in the flags.


Installed Programs: flac and metaflac
Installed Libraries: libFLAC.so and libFLAC++.so
Installed Directories: /usr/include/FLAC, /usr/include/FLAC++ and /usr/share/doc/flac-1.3.0

Short Descriptions


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


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


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

Last updated on 2014-08-23 17:21:29 -0700