I can not find the package to remove Google Play Music from my applications. It no longer functions. I am using 20.10 I have gone through the Applications window in the settings menu and clicked on the Open in Software button. It can not find the app in the store. I have searched for the app in the terminal. I have run a dpkg --list list and searche dall those results and found nothing. I am just learning about the terminal but I am not sure what to ask it to do, but I want to remove this app. Any suggestions?
1 Answers
Most likely, you have the snap version installed. A search should return a result like this:
sudo snap list | grep -i google | grep -i music
As you can see, sudo snap list is similar to dpkg -l. However, this command lists installed snap packages whereas dpkg -l lists installed deb packages.
Use grep to narrow the results and use the -i option for grep to disable case sensitivity for your search.
If the package is listed, you can use the sudo snap remove command followed by the package name you wish to uninstall. For example, if the package name is google-play-music-desktop-player you would use the following command:
sudo snap remove google-play-music-desktop-player
In the same fashion, you can list and search for installed flatpak packages like this (if you use flatpak):
flatpak list -a | grep -i google | grep -i music
The -a option for flatpak specifies all packages.
To remove a flatpak package, use the flatpak uninstall command followed by the package name.
more info about flatpak here and here
Alternatively, there is a slim chance that you may have the old deb package installed. If this is the case, then
dpkg -l | grep -i google | grep -i music
should return a result.
If the google-play-music-desktop-player package is listed, you can use the following command to remove the package:
sudo apt purge google-play-music-desktop-player
- 44,904
- 8
- 102
- 162