How To Install ncmpc on Fedora 34

ncmpc is A curses client for the Music Player Daemon (MPD)

Introduction

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

What is ncmpc

ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc connects to a MPD running on a machine on the local network, and controls this with an interface inspired by cplay.

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

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

sudo dnf -y install ncmpc

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

sudo yum -y install ncmpc

How To Uninstall ncmpc on Fedora 34

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

sudo dnf remove ncmpc

ncmpc Package Contents on Fedora 34

/etc/ncmpc
/etc/ncmpc/config
/etc/ncmpc/keys
/usr/bin/ncmpc
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/08e4c8b874fdc93c0187b5108c9f4d29584cfe
/usr/share/doc/ncmpc
/usr/share/doc/ncmpc/index.rst
/usr/share/locale/cs/LC_MESSAGES/ncmpc.mo
/usr/share/locale/da/LC_MESSAGES/ncmpc.mo
/usr/share/locale/de/LC_MESSAGES/ncmpc.mo
/usr/share/locale/en/LC_MESSAGES/ncmpc.mo
/usr/share/locale/eo/LC_MESSAGES/ncmpc.mo
/usr/share/locale/es/LC_MESSAGES/ncmpc.mo
/usr/share/locale/fi/LC_MESSAGES/ncmpc.mo
/usr/share/locale/fr/LC_MESSAGES/ncmpc.mo
/usr/share/locale/gl/LC_MESSAGES/ncmpc.mo
/usr/share/locale/he/LC_MESSAGES/ncmpc.mo
/usr/share/locale/hu/LC_MESSAGES/ncmpc.mo
/usr/share/locale/ie/LC_MESSAGES/ncmpc.mo
/usr/share/locale/it/LC_MESSAGES/ncmpc.mo
/usr/share/locale/ja/LC_MESSAGES/ncmpc.mo
/usr/share/locale/ko/LC_MESSAGES/ncmpc.mo
/usr/share/locale/nb/LC_MESSAGES/ncmpc.mo
/usr/share/locale/nl/LC_MESSAGES/ncmpc.mo
/usr/share/locale/pl/LC_MESSAGES/ncmpc.mo
/usr/share/locale/pt/LC_MESSAGES/ncmpc.mo
/usr/share/locale/pt_BR/LC_MESSAGES/ncmpc.mo
/usr/share/locale/ru/LC_MESSAGES/ncmpc.mo
/usr/share/locale/sk/LC_MESSAGES/ncmpc.mo
/usr/share/locale/sv/LC_MESSAGES/ncmpc.mo
/usr/share/locale/uk/LC_MESSAGES/ncmpc.mo
/usr/share/locale/zh_CN/LC_MESSAGES/ncmpc.mo
/usr/share/man/man1/ncmpc.1.gz
/usr/share/ncmpc
/usr/share/ncmpc/lyrics
/usr/share/ncmpc/lyrics/20-azlyrics.py

References

Summary

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