Manjaro Linux

How to Install Spotify on Manjaro

Life itself is like music, right? There’s no human being without the passion for music. Whenever you’re on gym or a tour, without music, it’s incomplete. Music gives our brain a pleasure to the utmost level that a very few things can bring.  What’s more loving than free music on the go? I, personally, just can’t LOVE enough the awesome service Spotify provides! I can enjoy my favorite music from anywhere, any device!

Spotify is also available as a native client on a number of devices – computers, smartphones and what not! However, on Linux, it’s a tough call. Spotify is available on a wide range of Linux distros. What about Manjaro?

Manjaro is a super cool Linux distro that’s based on the Arch Linux. However, it reduces the strain of the classic Arch a lot. In fact, it’s one of the finest Arch-based user-friendly distro, especially for new Linux users!

Let’s enjoy Spotify on Manjaro.

Installing Spotify

Officially, Spotify offers a “snap” package of the client. The “snap” packages are universal Linux apps that can run on any platform without any modification in the main program. For enjoying Spotify, we have to get the “Spotify” snap package.

However, for installing any snap package, you need the “snap” client installed in your system. This one isn’t available on the default software repository of Manjaro Linux. The source code is hosted on AUR. Building and then installing an app is the natural process of AUR, especially for the Arch and Arch-based distros. Let’s get started.

Installing snap package

For getting the source code of “snap” core, we have to use Git. Start by installing Git –

sudo pacman -S git

Now, your system is ready to grab the source code from the AUR repository.

git clone https://aur.archlinux.org/snapd.git

Download complete? Good! Time to start the build process. Change the active directory –

cd snapd/

Start the building process –

makepkg -si

Wait for the process to complete.

Once complete, you have to tell the system to enable the “snap” service.

sudo systemctl enable --now snapd.socket

There are a number of “snap” packages that are marked as “classic”. In order to make sure that you don’t have any problem with them, run the following command –

sudo ln -s /var/lib/snapd/snap /snap

Verify that “snap” is successfully installed –

snap --version

Installing Spotify snap

Running the following command will download and install the latest Spotify “snap” package from the Snapcraft store.

sudo snap install spotify

Wait for the process to complete.

Voila! Spotify is installed!

Using Spotify

Start Spotify from the menu –

You can also start Spotify from the terminal –

Spotify

If you have an existing one, you can easily login into your account. Otherwise, go to Spotify and create an account.

Now, let’s have a look at the Spotify app’s settings.

The interface is pretty self-explanatory. If your system uses proxy, you can specify the settings for the app. You can also the proxy type (Socks4, Socks5, HTTP etc.) or “No Proxy”.

Enjoy your music!

About the author

Sidratul Muntaha

Student of CSE. I love Linux and playing with tech and gadgets. I use both Ubuntu and Linux Mint.