Ubuntu: Wie installiere ich Spotify über das Terminal?

3 Antworten

Spotify kannst du einfach über deine grafische Softwareverwaltung installieren dazu braucht es kein Terminal. Die Spotify App ist als Snap verfügbar.

Wenn es aus welchen Gründen auch immer über das Terminal sein soll dann geht das mit folgendem Befehl:

sudo snap install spotify
Woher ich das weiß:eigene Erfahrung – Ich nutze seit 20 Jahren Linux als Desktopbetriebssystem
Waldmorti 
Fragesteller
 15.11.2023, 15:47

Ok danke aber habe ich schon längst gefunden

0

Spotify for Linux is also released as a Debian package. Our aim is that it should work with the latest Long Term Support release of Ubuntu, but we will try to make it work for other releases of Ubuntu and Debian as well.

You will first need to configure our debian repository:

curl -sS https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list

Then you can install the Spotify client:

sudo apt-get update && sudo apt-get install spotify-client

https://www.spotify.com/de/download/linux/

Woher ich das weiß:Recherche
Waldmorti 
Fragesteller
 14.11.2023, 14:18

i dont want to install a .deb file from the internet. its not secure. thats why i wanna do it with the terminal otherwise i could just go in the appmanager and install it from there but i need this for a shellskript where i put all commands in who install my programms that i need.

0

Nimm Flatpak:

flatpak install com.spotify.Client

Siehe https://flathub.org/apps/com.spotify.Client

Wie gut das funktioniert, weiß ich allerdings nicht. Ich besitze meine Musik noch "traditionell" :D

Waldmorti 
Fragesteller
 14.11.2023, 15:49

ichhabe jetzt alles für snap eingestellt warum jetzt flatpak?

0
julihan41  14.11.2023, 16:03
@Waldmorti

Ich persönlich halte nichts von Snaps. Hat technische Gründe und nur Canonical nutzt sie für Ubuntu.

Wenn für dich das Snap funktioniert, dann nutze das.

0