

echo "deb stable non-free" | sudo tee /etc/apt//spotify.list We’ll use APT installation method for one basic reason – easy to update the package at a later stage after installation.Īdd Spotify Debian repository to your Linux Mint system by running the following command in the terminal. You can install Spotify on Linux Mint 21 from Snap package or Spotify supported APT repositories. sudo reboot Step 2: Add Spotify APT repository In case of an upgrade system reboot will be required before you continue with the installation of Spotify on Linux Mint 21.

sudo apt updateĪn upgrade can also be performed if no installed software packages will be affected in any way. Update the packages index cache by running the command below as root or user with sudo privileges on the system. Spotify is available for installation on Windows, Linux distributions, macOS and Mobile devices powered by iOS and Android operating systems.įollow the next steps to install and use Spotify on Linux Mint 21 Desktop system. Spotify enables you to stream music of your favorite artists, filter latest songs and albums, create custom playlists, shuffle play, share music and podcasts.

Spotify has been very successful as it serves millions of users every single day. Spotify is a free to use music streaming service with subscription for premium content at a small fee. Spotify implements MPRIS interface so commands like these should work:ĭbus-send -print-reply -dest= /org/mpris/MediaPlayer2 .In this short article we will be showing you how to install Spotify on Linux Mint 21. To exec dbus-launch -exit-with-session openbox-session On minimal systems it might be required to launch the desktop environment or window manager through dbus-launch -exit-with-session (provided by dbus-x11). # The spotify package is currently broken and installs files owned by uid 1000, fix itĭpkg -L spotify-client | sudo xargs chown -no-dereference root:rootĬontrolling playback using MPRIS D-Bus interface Install Spotify sudo apt install spotify-clientĬurl -sSf | gpg -dearmor | sudo tee /etc/apt/keyrings/spotify.gpg > /dev/nullĮcho "deb stable non-free" | sudo tee /etc/apt//spotify.list Update list of available packages sudo apt update NB: You will need to install dirmngr if not already installed sudo apt install dirmngrĪdd the Spotify repository signing key to be able to verify downloaded packages curl -sS | gpg -dearmor | sudo tee /usr/share/keyrings/repository-spotify-com-keyring.gpg >/dev/nullĪdd the Spotify repository echo deb stable non-free | sudo tee /etc/apt//spotify.list Using third-party repositories as recommended below is not supported by the Debian project and could break your system now or when you upgrade later.
