Linux system (Debian and Ubuntu) completely remove wine

  

wine is a simulation of windows under Linux, but this wine is difficult to uninstall, so I specifically wrote how to uninstall this thing:

1, the terminal executes sudo apt-get remove wine1.3 (wine1.3 is the package life when you install wine, if you installed apt-get wine between the time directly enter apt-get install remove Wine)

2, delete the wine directory file: sudo rm -r /home/username/.wine (username is your username)

3, uninstall the residual package: sudo Apt-get autoremove

4, clean up the windows program running wine simulation: sudo rm -r /home/username/.local/share/applications

5, clean up the residual windows program: sudo Rm -r /home/username/.config/menus/applications-merged/wine*

Note that the rm -r command is used as root. This command is dangerous. If the path is entered incorrectly, it may be directly Tragedy, careful focus Ha

Copyright © Windows knowledge All Rights Reserved