Ubuntu removes wine and leftover shortcuts completely

Source: Internet
Author: User

One of the disgusting places in wine is that you uninstalled wine, but the wine program shortcuts you've installed remain in your main menu, too, and now teach you how to erase wine completely:

1. Uninstall the wine main program and enter it in the terminal:
sudo apt-get remove--purge wine

2. Then delete the wine directory file:
Rm-r ~/.wine

3. Uninstall the remaining unused packages:
sudo apt-get autoremove

But after we've uninstalled some Windows programs with wine, there are still icons in the "apps"-"Other" menu, and we can completely erase them in the following ways:

1. Delete the relevant files or directories under ~/.local/share/applications/.
Rm-r ~/.local/share/applications

2. Delete the relevant files within the ~/.config/menus/applications-merged/.
Rm-r ~/.config/menus/applications-merged/wine*

Ubuntu removes wine and leftover shortcuts completely

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.