Ubuntu: Wie installiere ich Spotify über das Terminal?
Ich versuche einen Weg zu finden Spotify über das Terminal zu installieren.
Bisher sind alle versuche gescheitert.
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
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
Im übrigen kannst Du auch einfach "Clementine" aus den Repos installieren. Das enthält einen Spotify-Client und kann noch einiges mehr.
Internetradio hören, von Spotify, Grooveshark, SomaFM, Magnatune, Jamendo, SKY.fm, Digitally Imported, JAZZRADIO.com, Soundcloud, Icecast und Subsonic servers.
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
ichhabe jetzt alles für snap eingestellt warum jetzt flatpak?
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.
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.