How To Install Flac?
Maintainer: Debian Multimedia Maintainers
Email: [email protected] .
Website: https://xiph.org/flac/
Section: sound
Install flac
-
Debian
apt-get install flacClick to copy -
Ubuntu
apt-get install flacClick to copy -
Alpine OS
apk add flacClick to copy -
Arch Linux
pacman -S flacClick to copy -
Kali Linux
apt-get install flacClick to copy -
CentOS
yum install flacClick to copy -
Fedora
dnf install flacClick to copy -
Raspbian
apt-get install flacClick to copy -
macOS
brew install flacClick to copy
Encodes, decodes and tests flac files.
How to use flac?
Below are few example commands for flac that you can use in the terminal.
Encode a wav file to flac (this will create a flac file in the same location as the wav file):flac path/to/file.wavClick to copyEncode a wav file to flac, specifying the output file:flac -o path/to/output.flac path/to/file.wavClick to copyDecode a flac file to wav, specifying the output file:flac -d -o path/to/output.wav path/to/file.flacClick to copyTest a flac file for the correct encoding:flac -t path/to/file.flacClick to copy
Installing flac command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of flac 2026 package in your OS.




