How To Install playerctl on Fedora 36
Introduction
In this tutorial we learn how to install playerctl
on Fedora 36.
What is playerctl
Playerctl is a command-line utility and library for controlling media players that implement the MPRIS D-Bus Interface Specification. Playerctl makes it easy to bind player actions, such as play and pause, to media keys. You can also get metadata about the playing track such as the artist and title for integration into statusline generators or other command-line tools. For more advanced users, Playerctl provides an introspectable library available in your favorite scripting language that allows more detailed control like the ability to subscribe to media player events or get metadata such as artist and title for the playing track. Examples of players implementing the MPRIS D-Bus Interface Specification include vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
We can use yum
or dnf
to install playerctl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install playerctl.
Install playerctl 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 playerctl
using dnf
by running the following command:
sudo dnf -y install playerctl
Install playerctl 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 playerctl
using yum
by running the following command:
sudo yum -y install playerctl
How To Uninstall playerctl on Fedora 36
To uninstall only the playerctl
package we can use the following command:
sudo dnf remove playerctl
playerctl Package Contents on Fedora 36
/usr/bin/playerctl
/usr/bin/playerctld
/usr/lib/.build-id
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/6f26bf6a36ca462cb81d9eb8353224f7594b9e
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/be980a1cbfc887208527d471a1afec53f19579
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/playerctl.bash
/usr/share/dbus-1/services/org.mpris.MediaPlayer2.playerctld.service
/usr/share/licenses/playerctl
/usr/share/licenses/playerctl/COPYING
/usr/share/man/man1/playerctl.1.gz
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_playerctl
References
Summary
In this tutorial we learn how to install playerctl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install playerctl on Fedora 36” linkTitle: “playerctl” type: “docs” description: “In this tutorial we learn how to install playerctl in Fedora 36. playerctl is Command-line MPRIS-compatible Media Player Controller” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/playerctl-featured.png
Introduction
In this tutorial we learn how to install playerctl
on Fedora 36.
What is playerctl
Playerctl is a command-line utility and library for controlling media players that implement the MPRIS D-Bus Interface Specification. Playerctl makes it easy to bind player actions, such as play and pause, to media keys. You can also get metadata about the playing track such as the artist and title for integration into statusline generators or other command-line tools. For more advanced users, Playerctl provides an introspectable library available in your favorite scripting language that allows more detailed control like the ability to subscribe to media player events or get metadata such as artist and title for the playing track. Examples of players implementing the MPRIS D-Bus Interface Specification include vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
We can use yum
or dnf
to install playerctl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install playerctl.
Install playerctl 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 playerctl
using dnf
by running the following command:
sudo dnf -y install playerctl
Install playerctl 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 playerctl
using yum
by running the following command:
sudo yum -y install playerctl
How To Uninstall playerctl on Fedora 36
To uninstall only the playerctl
package we can use the following command:
sudo dnf remove playerctl
playerctl Package Contents on Fedora 36
/usr/bin/playerctl
/usr/bin/playerctld
/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/37e71f1c3f324a207786f87a795602b24a0920
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/b2c1d0af7fe1ecbe5a5b5a29c0ca7019514587
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/playerctl.bash
/usr/share/dbus-1/services/org.mpris.MediaPlayer2.playerctld.service
/usr/share/licenses/playerctl
/usr/share/licenses/playerctl/COPYING
/usr/share/man/man1/playerctl.1.gz
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_playerctl
References
Summary
In this tutorial we learn how to install playerctl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).