Debian
從 Debian 移除 Google Play Music
我正在使用 Cinnamon 執行 Debian 拉伸發行版。
我想刪除 Google Play 音樂,但不知道如何安裝它。
我可能在這裡下載了 .deb 包:https ://www.googleplaymusicdesktopplayer.com/ 但命令
dpkg -r package.deb
不工作
此外,我不能列出它
dpkg -l | grep google dpkg -l | grep music
根據附圖,它與google-chrome包有關,但我不想解除安裝google-chrome。
包的名稱是“google-play-music-desktop-player”,刪除它就
dpkg --remove google-play-music-desktop-player
可以了。.deb
只是一個文件副檔名,而不是包名的一部分;dpkg --remove
想要已安裝包的名稱,而不是包的文件名。
dpkg -l | grep foo
是查找已安裝軟體包的一種非常不可靠的方法,尤其是當您不確定關鍵字時。apt-cache search
往往更擅長於此。shadur@axiom: ~/Downloads/ > sudo dpkg -i google-play-music-desktop-player_4.4.1_amd64.deb Selecting previously unselected package google-play-music-desktop-player. (Reading database ... 411755 files and directories currently installed.) Preparing to unpack google-play-music-desktop-player_4.4.1_amd64.deb ... Unpacking google-play-music-desktop-player (4.4.1-1) ... Setting up google-play-music-desktop-player (4.4.1-1) ... Processing triggers for desktop-file-utils (0.23-2) ... Processing triggers for gnome-menus (3.13.3-9) ... Processing triggers for mime-support (3.60) ... shadur@axiom: ~/Downloads/ > dpkg -l googl\* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-========================-=================-=================-===================================================== ii google-play-music-deskto 4.4.1-1 amd64 An Electron wrapper for Google Play Music shadur@axiom: ~/Downloads/ > sudo dpkg --remove google-play-music-desktop-player (Reading database ... 411831 files and directories currently installed.) Removing google-play-music-desktop-player (4.4.1-1) ... Processing triggers for desktop-file-utils (0.23-2) ... Processing triggers for gnome-menus (3.13.3-9) ... Processing triggers for mime-support (3.60) ... shadur@axiom: ~/Downloads/ > shadur@axiom: ~/Downloads/ > dpkg -l googl\* dpkg-query: no packages found matching googl*