# Fedora

If you run Fedora 30 or newer you can install mopidy and mopidy-mpd from the standard Fedora repositories. mopidy-spotify is available from RPMFusion.

## Install Mopidy

1. Install Mopidy and all dependencies:

       sudo dnf install mopidy

   This will automatically install Mopidy-MPD as a weak dependency as well.

2. Some extensions are packaged in RPMFusion. To install this repository, run:

       sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

3. Now, you’re ready to run Mopidy.

## Installing extensions

If you want to use any Mopidy extensions, you need to install additional packages. Note that as of Feburary 2020, only Mopidy-MPD (automatically installed) and Mopidy-Spotify (RPMFusion-nonfree) are packaged.

To install `mopidy-spotify` from RPMFusion-nonfree, simply run:

    sudo dnf install mopidy-spotify

If you cannot find the extension you want in the repositories, you can install it from PyPI using `pip` instead. Even if Mopidy itself is installed from DNF it will correctly detect and use extensions from PyPI installed globally on your system using:

    sudo python3 -m pip install ...

For a comprehensive index of available Mopidy extensions, including those not installable from DNF, see the Mopidy extension registry.