Installing plugins for playing movies and music

Ankur Sinha, Héctor Louzao, Neil Gompa (ngompa) Version F39 and newer Last review: 2023-12-05
As a Fedora user and system administrator, you can use these steps to install additional multimedia plugins that enable you to play various video and audio types.


  • Use the dnf utility to install packages that provide multimedia libraries:

    sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-plugin-libav --exclude=gstreamer1-plugins-bad-free-devel
    sudo dnf install lame\* --exclude=lame-devel
    sudo dnf group upgrade --with-optional Multimedia
  • There are also media players that include all relevant codecs by themselves. Consider using one of the following for offline video viewing:

    • VLC, available from the vlc package

    • MPV, available from the mpv package