How To Install libclastfm on Fedora 34

libclastfm is Unofficial C-API for the Last.fm web service Unofficial C-API for the Last.fm web service

Introduction

In this tutorial we learn how to install libclastfm on Fedora 34.

What is libclastfm

libclastfm is an unofficial C-API for the Last.fm web service written with libcurl. It was written because the official CBS Interactive Last.fm library requires Nokia QT, which is usually not desired when using GTK+ based distros. This library supports much more than basic scrobble submission. You can send shouts, fetch Album covers and much more. Due to the naming conflict with the official last.fm library, this library will install as “libclastfm”. libclastfm 0.5 0.18.20120314git968af0ab.fc34 x86_64 43 k libclastfm-0.5-0.18.20120314git968af0ab.fc34.src.rpm fedora Unofficial C-API for the Last.fm web service http GPLv3+ libclastfm is an unofficial C-API for the Last.fm web service written with libcurl. It was written because the official CBS Interactive Last.fm library requires Nokia QT, which is usually not desired when using GTK+ based distros. This library supports much more than basic scrobble submission. You can send shouts, fetch Album covers and much more. Due to the naming conflict with the official last.fm library, this library will install as “libclastfm”.

We can use yum or dnf to install libclastfm on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libclastfm.

Install libclastfm 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 libclastfm using dnf by running the following command:

sudo dnf -y install libclastfm

Install libclastfm 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 libclastfm using yum by running the following command:

sudo yum -y install libclastfm

How To Uninstall libclastfm on Fedora 34

To uninstall only the libclastfm package we can use the following command:

sudo dnf remove libclastfm

libclastfm Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/d9e7d63925db341d4cb1b3b1171d36442952f7
/usr/lib/libclastfm.so.0
/usr/lib/libclastfm.so.0.0.0
/usr/share/doc/libclastfm
/usr/share/doc/libclastfm/AUTHORS
/usr/share/doc/libclastfm/COPYING
/usr/share/doc/libclastfm/ChangeLog
/usr/share/doc/libclastfm/NEWS
/usr/share/doc/libclastfm/README
/usr/lib/.build-id
/usr/lib/.build-id/53
/usr/lib/.build-id/53/b0cc4db877d4449d53a2a3b9087c354a6cc191
/usr/lib64/libclastfm.so.0
/usr/lib64/libclastfm.so.0.0.0
/usr/share/doc/libclastfm
/usr/share/doc/libclastfm/AUTHORS
/usr/share/doc/libclastfm/COPYING
/usr/share/doc/libclastfm/ChangeLog
/usr/share/doc/libclastfm/NEWS
/usr/share/doc/libclastfm/README

References

Summary

In this tutorial we learn how to install libclastfm on Fedora 34 using yum and dnf.