How To Install flac on Fedora 34
Introduction
In this tutorial we learn how to install flac
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install flac.
Install flac on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install flac
using dnf
by running the following command:
sudo dnf -y install flac
Install flac on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 34
To uninstall only the flac
package we can use the following command:
sudo dnf remove flac
flac Package Contents on Fedora 34
/usr/bin/flac
/usr/bin/metaflac
/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/dd42e13daa0070f78b08e7e5901852a4b48943
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/d4ca97627957ac00faaa07c4159f18a85c7e51
/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 34 using yum and dnf.