我想在一个命令中删除与 Wine 和 Wine 本身关联的所有程序,可以吗?这个问题的重点是我不想找到任何连接到 wine 的文件。
Lin*_*ity 16
sudo apt-get remove wine
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
Run Code Online (Sandbox Code Playgroud)
这将卸载 wine 并删除所有菜单和图标。
sudo apt-get remove wine
rm -rf ~/.wine
Run Code Online (Sandbox Code Playgroud)
如果您真的希望它成为一个命令,请将两行之间的换行符替换为 &&
这将删除 Wine(如果您从 repo 安装了它)并且它将破坏应用程序的默认安装区域。
~/.wine因为以上不会删除菜单中的旧程序链接,所以您需要手动删除 Wine 应用程序。值得庆幸的是,在最新版本的 Wine 中,所有程序都自动聚集在“Wine”子菜单下。我们只需要隐藏或删除它:
| 归档时间: |
|
| 查看次数: |
18693 次 |
| 最近记录: |