How To Install libdiscid on Fedora 34
Introduction
In this tutorial we learn how to install libdiscid
on Fedora 34.
What is libdiscid
This C library libdiscid creates MusicBrainz DiscIDs from audio CDs. It reads the table of contents (TOC) of a CD and generates an identifier which can be used to lookup the CD at MusicBrainz. Additionally, it provides a submission URL for adding the DiscID to the database. libdiscid 0.6.2 11.fc34 x86_64 33 k libdiscid-0.6.2-11.fc34.src.rpm fedora C Library for creating MusicBrainz DiscIDs https LGPLv2+ This C library libdiscid creates MusicBrainz DiscIDs from audio CDs. It reads the table of contents (TOC) of a CD and generates an identifier which can be used to lookup the CD at MusicBrainz. Additionally, it provides a submission URL for adding the DiscID to the database.
We can use yum
or dnf
to install libdiscid
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libdiscid.
Install libdiscid 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 libdiscid
using dnf
by running the following command:
sudo dnf -y install libdiscid
Install libdiscid 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 libdiscid
using yum
by running the following command:
sudo yum -y install libdiscid
How To Uninstall libdiscid on Fedora 34
To uninstall only the libdiscid
package we can use the following command:
sudo dnf remove libdiscid
libdiscid Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/46f795ac8fbb502a8cb73109b1baaa92f3a7ca
/usr/lib64/libdiscid.so.0
/usr/lib64/libdiscid.so.0.6.2
/usr/share/doc/libdiscid
/usr/share/doc/libdiscid/AUTHORS
/usr/share/doc/libdiscid/ChangeLog
/usr/share/doc/libdiscid/README
/usr/share/licenses/libdiscid
/usr/share/licenses/libdiscid/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/5b5a3500cbd0eaf049fa3236b7c6a73b2a226a
/usr/lib/libdiscid.so.0
/usr/lib/libdiscid.so.0.6.2
/usr/share/doc/libdiscid
/usr/share/doc/libdiscid/AUTHORS
/usr/share/doc/libdiscid/ChangeLog
/usr/share/doc/libdiscid/README
/usr/share/licenses/libdiscid
/usr/share/licenses/libdiscid/COPYING
References
- [libdiscid website](https://musicbrainz.org/doc/libdiscid https://musicbrainz.org/doc/libdiscid)
Summary
In this tutorial we learn how to install libdiscid
on Fedora 34 using yum and dnf.