首页 > 代码库 > ubuntu完全移除wine

ubuntu完全移除wine

In my case Wine did not get effectively uninstalled using the command:

sudo apt-get --purge remove wine

So I did the following:

rm -rf $HOME/.wine
rm -f $HOME/.config/menus/applications-merged/wine*
rm -rf $HOME/.local/share/applications/wine
rm -f $HOME/.local/share/desktop-directories/wine*
rm -f $HOME/.local/share/icons/????_*.xpm

These commands delete files stored in hard disk that may lock uninstallation of wine.

After deleting the files run command:

sudo apt-get remove --purge wine

Do the following to correct any installation error.

sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
另外

在txt文件的右键Open with会出现notepad以及wine application选项(即使他们已经被删除),只要在这个选项上点右键forget就能从open with列表中移除他们

自:http://askubuntu.com/questions/15551/how-to-remove-wine-completely

ubuntu完全移除wine