How To Install flac on Rocky Linux 8
Introduction
In this tutorial we learn how to install flac
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install flac.
Install flac on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the flac
package we can use the following command:
sudo dnf remove flac
flac Package Contents on Rocky Linux 8
/usr/bin/flac
/usr/bin/metaflac
/usr/lib/.build-id
/usr/lib/.build-id/97
/usr/lib/.build-id/97/58591e1130f5f6a534d58289e323a30a2e670a
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/79342d0e9711ce238608580a82cfb086e38411
/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 Rocky Linux 8 using yum and dnf.