How To Install flac on Fedora 36
Introduction
In this tutorial we learn how to install flac on Fedora 36.
What is flac
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 command-line tools and documentation.
We can use yum or dnf to install flac on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install flac.
Install flac on Fedora 36 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install flac using dnf by running the following command:
sudo dnf -y install flac
Install flac on Fedora 36 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install flac using yum by running the following command:
sudo yum -y install flac
How To Uninstall flac on Fedora 36
To uninstall only the flac package we can use the following command:
sudo dnf remove flac
flac Package Contents on Fedora 36
/usr/bin/flac
/usr/bin/metaflac
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/0cdcde1aeb199839e793bd346106a16267b205
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/34ec47523f5c3dd475271bce3689d59986ab11
/usr/share/doc/flac
/usr/share/doc/flac/html
/usr/share/doc/flac/html/changelog.html
/usr/share/doc/flac/html/developers.html
/usr/share/doc/flac/html/documentation.html
/usr/share/doc/flac/html/documentation_bugs.html
/usr/share/doc/flac/html/documentation_example_code.html
/usr/share/doc/flac/html/documentation_format_overview.html
/usr/share/doc/flac/html/documentation_tools.html
/usr/share/doc/flac/html/documentation_tools_flac.html
/usr/share/doc/flac/html/documentation_tools_metaflac.html
/usr/share/doc/flac/html/faq.html
/usr/share/doc/flac/html/favicon.ico
/usr/share/doc/flac/html/features.html
/usr/share/doc/flac/html/flac.css
/usr/share/doc/flac/html/format.html
/usr/share/doc/flac/html/id.html
/usr/share/doc/flac/html/images
/usr/share/doc/flac/html/images/logo.svg
/usr/share/doc/flac/html/images/logo130.gif
/usr/share/doc/flac/html/index.html
/usr/share/doc/flac/html/license.html
/usr/share/doc/flac/html/ogg_mapping.html
/usr/share/man/man1/flac.1.gz
/usr/share/man/man1/metaflac.1.gz
References
Summary
In this tutorial we learn how to install flac on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).