wget -O- | gpg -dearmor | sudo tee /usr/share/keyrings/spotify.gpg Next, import the GPG key with the following command. echo "deb stable non-free" | sudo tee /etc/apt//spotify.list With the GPG key imported, now add the official repository as follows. Next, update your system to reflect the new repository that was imported. Sudo apt install spotify-client -y Install Spotify – Flatpak Method With the repository sorted, proceed to install Spotify using the following. The second option is to use the Flatpak package manager, which is not installed on Ubuntu distributions, given Snap, which is Flatpak’s rival, is owned by Canonical and Ubuntu. However, Flatpak is still available to install from Ubuntu’s default repository.įirst, install the Flatpak manager this can be skipped if you already have it installed. APT Update Method sudo apt upgrade & sudo apt upgrade Flatpak Update Method flatpak update Snap Update Method sudo snap update How to Remove (Uninstall) Spotify Next, you need to enable Flatpack using the following command in your terminal: sudo flatpak remote-add -if-not-exists flathub ĭepending on the method of installation used, the following commands can be used to update. APT Remove Method sudo apt autoremove spotify-client -y Use one of the following commands to suit the original installation method for users who no longer require the application. Sudo rm /usr/share/keyrings/spotify.gpg Flatpak Remove Method flatpak uninstall -delete-data flathub -y Next, remove the repository if you will no longer re-install the streaming application.
0 Comments
Leave a Reply. |