彻底去除葡萄酒

彻底去除葡萄酒

我尝试使用以下命令从终端删除 wine:

apt-get remove wine

但 wine 仍然存在。我怎样才能彻底删除它?

harsh@harsh-BOOK:~$ sudo get-apt purge Q4Wine
[sudo] password for harsh: 
sudo: get-apt: command not found
harsh@harsh-BOOK:~$ sudo get-apt purge wine
sudo: get-apt: command not found
harsh@harsh-BOOK:~$ sudo rm wine
rm: cannot remove ‘wine’: No such file or directory
harsh@harsh-BOOK:~$ sudo rm q4wine
rm: cannot remove ‘q4wine’: No such file or directory
harsh@harsh-BOOK:~$ sudo rm winetricks
rm: cannot remove ‘winetricks’: No such file or directory

答案1

您使用get-apt而不是apt-get

rm用于删除文件,而不是删除包。

答案2

命令是:

sudo apt-get purge wine

您写错了get-apt,如错误代码所示。

答案3

删除 wine 包的命令是:

sudo apt-get remove --purge wine

但该~./wine目录仍会保留,其中包含所有已安装的 Wine 应用程序和设置。使用以下命令删除此文件夹及其所有内容:

rm -rf ~/.wine

相关内容