%general-entities; ]> FLAC-&flac-version; FLAC Introduction to FLAC FLAC is an audio CODEC similar to MP3, but lossless, meaning that audio is compressed without losing any information. &lfs121_checked; Download (HTTP): Download (FTP): FLAC Dependencies Optional , DocBook-utils, Doxygen, and Valgrind Installation of FLAC Install FLAC by running the following commands: ./configure --prefix=/usr \ --disable-thorough-tests \ --docdir=/usr/share/doc/flac-&flac-version; make To test the results, issue: make check. Note that if you passed the and 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 32-bit Installation of FLAC First clean the directory: make distclean Install lib32-FLAC by running the following commands: CC="gcc -m32" CXX="g++ -m32" \ CFLAGS="-L/usr/lib32" CXXFLAGS="-L/usr/lib32" \ ./configure --prefix=/usr \ --libdir=/usr/lib32 \ --host=i686-pc-linux-gnu \ --disable-thorough-tests make Now, as the root user: make DESTDIR=$PWD/DESTDIR install cp -vr DESTDIR/usr/lib32/* /usr/lib32 rm -rf DESTDIR ldconfig 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. Contents Installed Programs Installed Libraries Installed Directories flac and metaflac libFLAC.so and libFLAC++.so /usr/include/FLAC, /usr/include/FLAC++ and /usr/share/doc/flac-&flac-version; Short Descriptions flac is a command-line utility for encoding, decoding and converting FLAC files flac metaflac is a program for listing, adding, removing, or editing metadata in one or more FLAC files metaflac libFLAC{,++}.so these libraries provide native FLAC and Ogg FLAC C/C++ APIs for programs utilizing FLAC libFLAC{,++}.so