Skip to content

Instantly share code, notes, and snippets.

@TylerDurham
Created April 30, 2022 01:17
Show Gist options
  • Save TylerDurham/2927cef678e65842c99c8f6c7b1f6920 to your computer and use it in GitHub Desktop.
Save TylerDurham/2927cef678e65842c99c8f6c7b1f6920 to your computer and use it in GitHub Desktop.
Install Spotify on Ubuntu.
curl -sS https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | sudo apt-key add -
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update && sudo apt-get install spotify-client
@TylerDurham
Copy link
Author

TylerDurham commented Apr 30, 2022

Install it on Ubuntu:

bash <(curl -sL http://gist.sudonyms.io/-i-spotify)

@TylerDurham
Copy link
Author

TylerDurham commented Apr 30, 2022

If you are running Ubuntu 22.04, Spotify is still using libssl1.1 (Ubuntu 22.04 ships with libssl3). You can perform the following workaround (at your own risk!):

echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list

sudo apt-get update
sudo apt-get install libssl1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment