How To Install libmpdclient on Fedora 34
Introduction
In this tutorial we learn how to install libmpdclient
on Fedora 34.
What is libmpdclient
A stable, documented, asynchronous API library for interfacing MPD in the C, C++ & Objective C languages. libmpdclient 2.19 3.fc34 x86_64 59 k libmpdclient-2.19-3.fc34.src.rpm fedora Library for interfacing Music Player Daemon https BSD A stable, documented, asynchronous API library for interfacing MPD in the C, C++ & Objective C languages.
We can use yum
or dnf
to install libmpdclient
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libmpdclient.
Install libmpdclient 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 libmpdclient
using dnf
by running the following command:
sudo dnf -y install libmpdclient
Install libmpdclient 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 libmpdclient
using yum
by running the following command:
sudo yum -y install libmpdclient
How To Uninstall libmpdclient on Fedora 34
To uninstall only the libmpdclient
package we can use the following command:
sudo dnf remove libmpdclient
libmpdclient Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/a4faecef9866b53edd5acde7554cca22d012b5
/usr/lib64/libmpdclient.so.2
/usr/lib64/libmpdclient.so.2.19
/usr/share/doc/libmpdclient
/usr/share/doc/libmpdclient/AUTHORS
/usr/share/doc/libmpdclient/NEWS
/usr/share/doc/libmpdclient/README.rst
/usr/share/licenses/libmpdclient
/usr/share/licenses/libmpdclient/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/a5f45be2ec87fc89a2dee31e52e8ba01800ecf
/usr/lib/libmpdclient.so.2
/usr/lib/libmpdclient.so.2.19
/usr/share/doc/libmpdclient
/usr/share/doc/libmpdclient/AUTHORS
/usr/share/doc/libmpdclient/NEWS
/usr/share/doc/libmpdclient/README.rst
/usr/share/licenses/libmpdclient
/usr/share/licenses/libmpdclient/COPYING
References
- [libmpdclient website](https://www.musicpd.org/ https://www.musicpd.org/)
Summary
In this tutorial we learn how to install libmpdclient
on Fedora 34 using yum and dnf.