install spotify ubuntu command line code example
Example 1: spotify download ubuntu
snap install spotify
sudo apt install curl
curl -sS https://download.spotify.com/debian/pubkey_0D811D58.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 upgrade
sudo apt-get install spotify-client
cd /usr/share/applications/
sudo gedit spotify.desktop
Exec=spotify %U
Exec=spotify --force-device-scale-factor=2.0 %U
Example 2: install spotify ubuntu
curl -sS https://download.spotify.com/debian/pubkey.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