Skip to content

aunetx/deezer-linux

Folders and files

NameName
Last commit message
Last commit date
Jun 23, 2024
Nov 9, 2023
Nov 9, 2023
Mar 1, 2025
Feb 1, 2025
Feb 8, 2025
Mar 2, 2025
Feb 1, 2025
Jun 22, 2023
Mar 7, 2025
Nov 9, 2023
Feb 1, 2025

Repository files navigation

Deezer for linux

Build GitHub release (latest by date)

This repo is an UNOFFICIAL linux port (legal notice) of the official windows-only Deezer app. Being based on the native Windows app, it allows downloading your songs to listen to them offline!

It packages the app in a number of formats:

  • Flatpak, available on flathub
  • AppImage
  • rpm (Fedora, Red Hat, CentOS, openSUSE, ...)
  • deb (Debian, Ubuntu, Pop!_OS, elementary OS, ...)
  • tar.xz to install anywhere else

Special thanks to SibrenVasse who made the original AUR package for this app!

Installation

You can find all of the packages on the release page.

To install the flatpak version, you can simply go to https://flathub.org/apps/dev.aunetx.deezer (or use your favorite flatpak package manager).

Important

Old flatpak users must migrate to the flathub repository as soon as possible, as the flatpak repository was deleted from this repo (it weighed more that 2GB). In order to do so, you can use the following commands:

flatpak uninstall dev.aunetx.deezer
flatpak remote-delete deezer-linux
flatpak install flathub dev.aunetx.deezer

You should not lose any data by doing this.

Other packages can be installed from you package manager, either by clicking on them or from the command-line.

Usage

Option Description
--start-in-tray Start the app in the tray (see patch)
--disable-systray Quit the app when the window is closed (see patch)
--disable-features Disable some features (see patch)
--enable-discord-rpc Enable Discord RPC integration (see patch)
Environment variable Options Description
LOG_LEVEL silly,debug,verbose,info,warning,error Set the log level (see patch)
DZ_DEVTOOLS yes,no Enable the developer console (ctrl+shift+i)

Building from source

Available targets

Target arm64 x64
appimage ⚠️
deb ⚠️
rpm ⚠️
tar.xz ⚠️
snap

✅ Available ; ⚠️ Not tested ; ❌ Not available ; ⛔ Not planned (see FAQ)

Note

Please open an issue if you want a specific target to be added.

Requirements

  • Node.js (20 recommended)
  • npm (or yarn, see FAQ)
  • 7z (try installing p7zip and p7zip-full)
  • make
  • wget

Setup

To build the project, you need to install the dependencies first:

make install_deps

Note

You don't need to use make install_deps everytime you start a build, however you need to call it at least once. Everything should be generated in artifacts/{arch}.

AppImage

To build the AppImage x64 image, you can use:

make build_appimage_x64

Artifacts will be generated in artifacts/x64.

Warning

You may encounter a problem with the AppImage, where you are not able to login. This is a known issue, and is due to the way AppImage works. In this case, you can copy the link shown in https://www.deezer.com/desktop/login/electron/callback.

In the same directory as the AppImage file, use:

deezer-desktop-*.AppImage deezer://autolog/...

You should now be logged in.

For more information, see issue #29

Caution

If you want to open an issue about this, please do not share your own deezer://autolog/... link, as it would allow anyone to log into your account without your consent.

rpm / deb / tar.xz

To generate the rpm/deb/tar.xz packages, you can use:

make build_{target}_{arch}

Example:

make build_rpm_arm64

Artifacts will be generated in artifacts/{arch}.

Warning

Building can take a long time. Be patient.

If you generate the tar.xz package, you can run it directly by extracting to a directory, and calling ./deezer-desktop from there.

Development

If you want to contribute to this project, please read the contribution guidelines file.

FAQ

Why does this project exist?

Deezer can be used on Linux through the web interface, but it does not allow downloading songs for offline listening. This project allows you to use the official Deezer app on Linux, with the same features as on Windows (plus some Linux-specific features).

Why can't I get the snap package?

Please see this issue or this issue. Prefer using Flatpak or AppImage.

Why are the patches published but not the app's source code? patches?

The source code of the Deezer app is not open-source. Reverse-engineering the app would be illegal and would violate the Deezer EULA. This project is a port of the official Windows app, and does not contain any reverse-engineered code, rather it bundles the official Windows app with a compatibility layer.

I want to use yarn instead of npm, is it possible?

Yes, you can use yarn instead of npm. Execute the following command before building the project:

export PACKAGE_MANAGER=yarn
export PACKAGE_MANAGER_SUBDIR_ARG=--cwd
export PACKAGE_MANAGER_ADD_CMD=add
export PACKAGE_MANAGER_INSTALL_CMD=install

LEGAL DISCLAIMER

This work is UNOFFICIAL. Deezer does not officially support Linux and cannot be held responsible for any misuse of this port.

The installation and use of this software is outside the scope of the Deezer EULA. No author or contributor to this project can be held responsible for the use you make of it.

Note

Deezer was contacted to ask for permission to upload this on Flathub, but no answer was given. This work remains unofficial and is not supported by Deezer. See this thread (FR)