How To Install mpc on Fedora 36

In this tutorial we learn how to install mpc in Fedora 36. mpc is Command-line client for MPD

Introduction

In this tutorial we learn how to install mpc on Fedora 36.

What is mpc

A client for MPD, the Music Player Daemon. mpc connects to a MPD running on a machine via a network.

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

Install mpc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mpc using dnf by running the following command:

sudo dnf -y install mpc

Install mpc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mpc using yum by running the following command:

sudo yum -y install mpc

How To Uninstall mpc on Fedora 36

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

sudo dnf remove mpc

mpc Package Contents on Fedora 36

/usr/bin/mpc
/usr/lib/.build-id
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/e314553d2648826845b3baf00bafbbdd7abaa7
/usr/libexec/mpc
/usr/libexec/mpc/mpd-m3u-handler.sh
/usr/libexec/mpc/mpd-pls-handler.sh
/usr/share/bash-completion/completions/mpc
/usr/share/doc/mpc
/usr/share/doc/mpc/AUTHORS
/usr/share/doc/mpc/NEWS
/usr/share/doc/mpc/README.rst
/usr/share/doc/mpc/html
/usr/share/doc/mpc/html/_sources
/usr/share/doc/mpc/html/_sources/index.rst.txt
/usr/share/doc/mpc/html/_static
/usr/share/doc/mpc/html/_static/alabaster.css
/usr/share/doc/mpc/html/_static/basic.css
/usr/share/doc/mpc/html/_static/custom.css
/usr/share/doc/mpc/html/_static/doctools.js
/usr/share/doc/mpc/html/_static/documentation_options.js
/usr/share/doc/mpc/html/_static/file.png
/usr/share/doc/mpc/html/_static/jquery-3.5.1.js
/usr/share/doc/mpc/html/_static/jquery.js
/usr/share/doc/mpc/html/_static/language_data.js
/usr/share/doc/mpc/html/_static/minus.png
/usr/share/doc/mpc/html/_static/plus.png
/usr/share/doc/mpc/html/_static/pygments.css
/usr/share/doc/mpc/html/_static/searchtools.js
/usr/share/doc/mpc/html/_static/underscore-1.13.1.js
/usr/share/doc/mpc/html/_static/underscore.js
/usr/share/doc/mpc/html/genindex.html
/usr/share/doc/mpc/html/index.html
/usr/share/doc/mpc/html/objects.inv
/usr/share/doc/mpc/html/search.html
/usr/share/doc/mpc/html/searchindex.js
/usr/share/licenses/mpc
/usr/share/licenses/mpc/COPYING
/usr/share/man/man1/mpc.1.gz

References

Summary

In this tutorial we learn how to install mpc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).